!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! VERIFICATION CHECK: vc-memory-leak !!!!! !!!!! !!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Description: Check that the model has no memory leaks. This is tested using the Valgrind memory debugging tool (http://valgrind.org) by performing a series of energy and force calculations on a randomly distorted face-centered cubic (FCC) cube base structure for both non-periodic and periodic boundary conditions. Separate configurations are tested for each species supported by the model, as well as one containing a random distribution of all species. Configurations used for testing are provided as auxiliary files. Author: Ellad Tadmor and Daniel S. Karls ----------------------------------------------------------------------------------------------------- Results for KIM Model : Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Rb__MO_147245690895_004 Supported species : Rb random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Rb (Configuration in file "config-F-Rb.xyz") ----------------------------------------------------------------------------------------------------- Energy = 449.1698305395222 Forces: 1 -7.75830433e+00 -7.13153750e+00 -7.82280170e+00 2 -2.38180999e+00 -3.05124342e+00 -1.34746145e+01 3 -2.54364629e+00 -1.29376053e+01 -2.77054014e+00 4 -1.30639161e+01 -1.50435282e+00 -2.82978186e+00 5 2.00894953e+00 -1.14524266e+01 -9.29526210e+00 6 9.53357689e+00 -2.90581118e+00 -1.07193290e+01 7 9.91134701e+00 -1.20062508e+01 -4.05258840e+00 8 2.59195097e+00 -4.94945652e+00 -3.24734099e+00 9 -9.09621807e+00 1.74377292e+00 -1.22116913e+01 10 -2.52531231e+00 1.21798133e+01 -1.16570323e+01 11 -5.58837228e+00 7.45456976e-01 -4.05468241e+00 12 -1.15660772e+01 1.04298066e+01 -2.26486609e+00 13 3.70727797e+00 1.84518385e+00 -1.55545180e+01 14 8.83511162e+00 8.44941087e+00 -7.95473801e+00 15 1.51958517e+01 2.50179050e+00 -3.22913908e+00 16 2.35576627e+00 1.56825546e+01 -2.09368606e+00 17 -1.12997468e+01 -8.96156014e+00 8.70586536e-01 18 -3.23170795e+00 -3.71601529e+00 3.39864079e+00 19 -9.16247088e-01 -1.10459851e+01 9.49581941e+00 20 -9.84490741e+00 -5.81940217e-01 9.92143525e+00 21 1.83158618e+00 -1.32247060e+01 4.60762017e+00 22 1.46992424e+01 -1.97834185e+00 3.78455977e+00 23 7.46977125e+00 -5.95284073e+00 8.50969788e+00 24 1.97948615e+00 -3.32072055e+00 1.34681095e+01 25 -1.34831300e+01 2.66524600e+00 2.70497642e+00 26 -3.30697196e+00 1.48221730e+01 3.14693525e+00 27 -3.69049518e+00 4.21886274e-01 1.29906800e+01 28 -9.54848776e+00 8.34315525e+00 7.95772965e+00 29 3.38826839e+00 1.92863388e+00 5.69056714e+00 30 1.17059137e+01 1.10001013e+01 3.12563700e+00 31 1.11667928e+01 1.80895095e+00 1.11495154e+01 32 3.46445784e+00 1.01528578e+01 1.24101017e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Rb (Configuration in file "config-T-Rb.xyz") ----------------------------------------------------------------------------------------------------- Energy = 449.1698305395222 Forces: 1 -7.75830433e+00 -7.13153750e+00 -7.82280170e+00 2 -2.38180999e+00 -3.05124342e+00 -1.34746145e+01 3 -2.54364629e+00 -1.29376053e+01 -2.77054014e+00 4 -1.30639161e+01 -1.50435282e+00 -2.82978186e+00 5 2.00894953e+00 -1.14524266e+01 -9.29526210e+00 6 9.53357689e+00 -2.90581118e+00 -1.07193290e+01 7 9.91134701e+00 -1.20062508e+01 -4.05258840e+00 8 2.59195097e+00 -4.94945652e+00 -3.24734099e+00 9 -9.09621807e+00 1.74377292e+00 -1.22116913e+01 10 -2.52531231e+00 1.21798133e+01 -1.16570323e+01 11 -5.58837228e+00 7.45456976e-01 -4.05468241e+00 12 -1.15660772e+01 1.04298066e+01 -2.26486609e+00 13 3.70727797e+00 1.84518385e+00 -1.55545180e+01 14 8.83511162e+00 8.44941087e+00 -7.95473801e+00 15 1.51958517e+01 2.50179050e+00 -3.22913908e+00 16 2.35576627e+00 1.56825546e+01 -2.09368606e+00 17 -1.12997468e+01 -8.96156014e+00 8.70586536e-01 18 -3.23170795e+00 -3.71601529e+00 3.39864079e+00 19 -9.16247088e-01 -1.10459851e+01 9.49581941e+00 20 -9.84490741e+00 -5.81940217e-01 9.92143525e+00 21 1.83158618e+00 -1.32247060e+01 4.60762017e+00 22 1.46992424e+01 -1.97834185e+00 3.78455977e+00 23 7.46977125e+00 -5.95284073e+00 8.50969788e+00 24 1.97948615e+00 -3.32072055e+00 1.34681095e+01 25 -1.34831300e+01 2.66524600e+00 2.70497642e+00 26 -3.30697196e+00 1.48221730e+01 3.14693525e+00 27 -3.69049518e+00 4.21886274e-01 1.29906800e+01 28 -9.54848776e+00 8.34315525e+00 7.95772965e+00 29 3.38826839e+00 1.92863388e+00 5.69056714e+00 30 1.17059137e+01 1.10001013e+01 3.12563700e+00 31 1.11667928e+01 1.80895095e+00 1.11495154e+01 32 3.46445784e+00 1.01528578e+01 1.24101017e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==112798== Memcheck, a memory error detector ==112798== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==112798== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==112798== Command: python runner2.py Morse_Shifted_GirifalcoWeizer_1959MedCutoff_Rb__MO_147245690895_004 ==112798== ==113407== Warning: invalid file descriptor 255988 in syscall close() ==113407== Warning: invalid file descriptor 255989 in syscall close() ==113407== Warning: invalid file descriptor 255990 in syscall close() ==113407== Warning: invalid file descriptor 255991 in syscall close() ==113407== Use --log-fd= to select an alternative log fd. ==113407== Warning: invalid file descriptor 255992 in syscall close() ==113407== Warning: invalid file descriptor 255993 in syscall close() ==112798== ==112798== HEAP SUMMARY: ==112798== in use at exit: 2,257,559 bytes in 1,700 blocks ==112798== total heap usage: 45,192 allocs, 43,492 frees, 50,064,994 bytes allocated ==112798== ==112798== LEAK SUMMARY: ==112798== definitely lost: 0 bytes in 0 blocks ==112798== indirectly lost: 0 bytes in 0 blocks ==112798== possibly lost: 180,827 bytes in 103 blocks ==112798== still reachable: 2,076,700 bytes in 1,596 blocks ==112798== of which reachable via heuristic: ==112798== stdstring : 38 bytes in 1 blocks ==112798== suppressed: 32 bytes in 1 blocks ==112798== Rerun with --leak-check=full to see details of leaked memory ==112798== ==112798== For lists of detected and suppressed errors, rerun with: -s ==112798== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 7848 from 560) ================================================================================ To pass this verification check the number of bytes that are "definitely lost" or "indirectly lost" must be zero. NOTE that Valgrind will typically report non-zero "possibly lost" bytes due to Python's internal memory allocation and garbage collection that it does not monitor. Full Valgrind output written to auxiliary file "valgrind.out" Grade: P Comment: No memory leak detected.