!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : EAM_Dynamo_Zhakhovsky_2009_Au__MO_173248269481_000 Supported species : Au random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Au (Configuration in file "config-F-Au.xyz") ----------------------------------------------------------------------------------------------------- Energy = 555.7415144330319 Forces: 1 -1.78932969e+01 -3.97662065e+01 -4.04486677e+01 2 -4.29201791e+01 7.21031967e+01 -4.39900607e+01 3 5.54688769e+00 -2.60367680e+01 1.06976226e+01 4 -2.47417231e+01 2.87757052e+01 2.34154219e+01 5 6.24963009e+01 -8.94478125e+01 -1.41756885e+01 6 1.57410134e+01 6.21940589e+00 -2.79298546e+01 7 2.87923029e+01 -1.31569160e+02 -1.24494985e+02 8 -6.86457540e+01 -5.34625481e+01 -1.36394317e+01 9 -3.23214652e+01 -6.33934376e+01 -9.27366829e+01 10 -1.20628903e+01 7.85460477e+01 -8.97021818e+01 11 -3.37148593e+01 -6.06333052e+01 3.14933922e+01 12 -5.81939110e+01 7.30044069e+01 5.85253849e+01 13 -3.55877345e+01 -5.97675688e+01 -1.80523737e+02 14 3.57646048e+01 4.57180662e+01 -3.22188219e+01 15 1.59762635e+02 -4.45520512e+01 2.59380647e+01 16 2.01693541e+01 1.33450188e+02 5.73278330e+01 17 -8.04170427e+01 -5.58563390e+01 -2.82740709e+01 18 6.07016455e+01 7.83243357e+01 -7.43537905e+01 19 2.73445387e+01 -9.31452221e+01 5.78414070e+01 20 -6.53213461e+01 3.10486092e+01 7.49045263e+01 21 -5.57892098e+01 -4.50387797e+01 3.09146217e+01 22 9.18493151e+01 9.81100321e+01 1.01747674e+02 23 2.05746866e+01 -8.95829167e+00 2.80155863e+01 24 2.38582567e+01 2.06668657e+01 3.19864569e+01 25 -6.14289713e+01 -1.92234257e+01 -2.08102711e+01 26 -2.72196507e+01 8.91164260e+01 -4.08353615e+01 27 6.26287484e+01 -1.39555969e+02 6.46405109e+01 28 -1.21791431e+02 1.10551228e+02 3.10772609e+01 29 -3.26776198e+01 -4.12074605e+01 4.30882833e+01 30 4.55029355e+01 7.18718438e+01 3.78561296e+01 31 6.97978747e+01 -3.02954247e+01 4.67498455e+01 32 4.01959855e+01 6.44034128e+01 6.79135842e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Au (Configuration in file "config-T-Au.xyz") ----------------------------------------------------------------------------------------------------- Energy = 555.7415144330319 Forces: 1 -1.78932969e+01 -3.97662065e+01 -4.04486677e+01 2 -4.29201791e+01 7.21031967e+01 -4.39900607e+01 3 5.54688769e+00 -2.60367680e+01 1.06976226e+01 4 -2.47417231e+01 2.87757052e+01 2.34154219e+01 5 6.24963009e+01 -8.94478125e+01 -1.41756885e+01 6 1.57410134e+01 6.21940589e+00 -2.79298546e+01 7 2.87923029e+01 -1.31569160e+02 -1.24494985e+02 8 -6.86457540e+01 -5.34625481e+01 -1.36394317e+01 9 -3.23214652e+01 -6.33934376e+01 -9.27366829e+01 10 -1.20628903e+01 7.85460477e+01 -8.97021818e+01 11 -3.37148593e+01 -6.06333052e+01 3.14933922e+01 12 -5.81939110e+01 7.30044069e+01 5.85253849e+01 13 -3.55877345e+01 -5.97675688e+01 -1.80523737e+02 14 3.57646048e+01 4.57180662e+01 -3.22188219e+01 15 1.59762635e+02 -4.45520512e+01 2.59380647e+01 16 2.01693541e+01 1.33450188e+02 5.73278330e+01 17 -8.04170427e+01 -5.58563390e+01 -2.82740709e+01 18 6.07016455e+01 7.83243357e+01 -7.43537905e+01 19 2.73445387e+01 -9.31452221e+01 5.78414070e+01 20 -6.53213461e+01 3.10486092e+01 7.49045263e+01 21 -5.57892098e+01 -4.50387797e+01 3.09146217e+01 22 9.18493151e+01 9.81100321e+01 1.01747674e+02 23 2.05746866e+01 -8.95829167e+00 2.80155863e+01 24 2.38582567e+01 2.06668657e+01 3.19864569e+01 25 -6.14289713e+01 -1.92234257e+01 -2.08102711e+01 26 -2.72196507e+01 8.91164260e+01 -4.08353615e+01 27 6.26287484e+01 -1.39555969e+02 6.46405109e+01 28 -1.21791431e+02 1.10551228e+02 3.10772609e+01 29 -3.26776198e+01 -4.12074605e+01 4.30882833e+01 30 4.55029355e+01 7.18718438e+01 3.78561296e+01 31 6.97978747e+01 -3.02954247e+01 4.67498455e+01 32 4.01959855e+01 6.44034128e+01 6.79135842e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==91610== Memcheck, a memory error detector ==91610== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==91610== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==91610== Command: python runner2.py EAM_Dynamo_Zhakhovsky_2009_Au__MO_173248269481_000 ==91610== ==91610== Conditional jump or move depends on uninitialised value(s) ==91610== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==91610== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==91610== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91610== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91610== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91610== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91610== by 0x551B80: ??? (in /usr/bin/python3.6) ==91610== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91610== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91610== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91610== by 0x509D47: ??? (in /usr/bin/python3.6) ==91610== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91610== ==91610== Conditional jump or move depends on uninitialised value(s) ==91610== at 0x4E63408: internal_utf8_loop (loop.c:298) ==91610== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==91610== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91610== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91610== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91610== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91610== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91610== by 0x551B80: ??? (in /usr/bin/python3.6) ==91610== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91610== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91610== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91610== by 0x509D47: ??? (in /usr/bin/python3.6) ==91610== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91610== ==91610== Conditional jump or move depends on uninitialised value(s) ==91610== at 0x4E63411: internal_utf8_loop (loop.c:303) ==91610== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==91610== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91610== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91610== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91610== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91610== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91610== by 0x551B80: ??? (in /usr/bin/python3.6) ==91610== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91610== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91610== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91610== by 0x509D47: ??? (in /usr/bin/python3.6) ==91610== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91610== ==91610== Conditional jump or move depends on uninitialised value(s) ==91610== at 0x4E63458: internal_utf8_loop (loop.c:298) ==91610== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==91610== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91610== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91610== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91610== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91610== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91610== by 0x551B80: ??? (in /usr/bin/python3.6) ==91610== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91610== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91610== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91610== by 0x509D47: ??? (in /usr/bin/python3.6) ==91610== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91610== ==91610== Conditional jump or move depends on uninitialised value(s) ==91610== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==91610== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==91610== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91610== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91610== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==91610== by 0x4CAD31: ??? (in /usr/bin/python3.6) ==91610== by 0x551B80: ??? (in /usr/bin/python3.6) ==91610== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91610== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91610== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91610== by 0x509D47: ??? (in /usr/bin/python3.6) ==91610== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91610== ==91610== ==91610== HEAP SUMMARY: ==91610== in use at exit: 2,764,995 bytes in 1,647 blocks ==91610== total heap usage: 36,172 allocs, 34,525 frees, 71,345,317 bytes allocated ==91610== ==91610== LEAK SUMMARY: ==91610== definitely lost: 0 bytes in 0 blocks ==91610== indirectly lost: 0 bytes in 0 blocks ==91610== possibly lost: 146,155 bytes in 87 blocks ==91610== still reachable: 2,618,840 bytes in 1,560 blocks ==91610== suppressed: 0 bytes in 0 blocks ==91610== Rerun with --leak-check=full to see details of leaked memory ==91610== ==91610== For counts of detected and suppressed errors, rerun with: -v ==91610== Use --track-origins=yes to see where uninitialised values come from ==91610== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11547 from 637) ================================================================================ 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.