!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_ZhouWadleyJohnson_2001NISTretabulation_Ti__MO_101966451181_000 Supported species : Ti random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ti (Configuration in file "config-F-Ti.xyz") ----------------------------------------------------------------------------------------------------- Energy = 128.30702460699035 Forces: 1 -1.70502481e+01 -1.40301628e+01 -1.55584139e+01 2 -5.09716291e+00 9.56812291e+00 -2.56500355e+01 3 1.63581229e+01 -3.11322718e+01 7.26230665e+00 4 -3.37833936e+01 1.07219716e+01 -7.91419158e+00 5 5.42430212e+00 -2.17724390e+01 -1.68096147e+01 6 1.78923129e+01 7.05667004e+00 -2.65237382e+01 7 1.86698677e+01 -3.24813842e+01 2.48700861e+00 8 -1.33709671e+01 -6.78500913e+00 5.39665150e+00 9 -1.54459527e+01 -5.45803152e+00 -2.17882871e+01 10 -1.10731893e+01 2.02099795e+01 -2.71754609e+01 11 -1.05270203e+01 2.94294408e+00 -6.00357485e+00 12 -1.83488246e+01 2.11303324e+01 4.68636073e+00 13 9.60301959e+00 -3.96094781e-02 -2.61803067e+01 14 1.52807958e+01 1.10676666e+01 -1.31340074e+01 15 2.78142609e+01 1.15883539e+01 -3.46772809e+00 16 1.02330539e+01 2.65439649e+01 1.20567862e+01 17 -1.71979571e+01 -2.70266758e+01 4.53710231e+00 18 1.28113902e+01 -1.01058038e+01 1.30742691e+01 19 -5.33056273e+00 -1.58684978e+01 1.88107859e+01 20 -1.65627888e+01 3.94286671e+00 2.35612044e+01 21 -8.34001145e+00 -2.55520021e+01 -2.30101303e+01 22 2.76504365e+01 5.86540760e+00 -4.57816817e+00 23 2.50793032e+01 -2.57447139e+01 2.76247643e+01 24 -1.79116264e+01 1.29498021e+01 2.60490028e+01 25 -2.97456632e+01 4.36023452e+00 -2.08454437e+00 26 7.62083742e+00 2.81328576e+01 -7.10086770e+00 27 6.31315614e+00 -1.11802487e+01 3.02216416e+01 28 -1.66272442e+01 1.41769650e+01 1.64999346e+01 29 9.99841155e-01 -2.87577161e+00 3.69104370e+00 30 2.09830083e+01 1.95233527e+01 -9.58618271e+00 31 1.98196152e+01 4.91756310e+00 2.02133452e+01 32 -6.14071136e+00 1.53535663e+01 2.03930447e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ti (Configuration in file "config-T-Ti.xyz") ----------------------------------------------------------------------------------------------------- Energy = 128.30702460699035 Forces: 1 -1.70502481e+01 -1.40301628e+01 -1.55584139e+01 2 -5.09716291e+00 9.56812291e+00 -2.56500355e+01 3 1.63581229e+01 -3.11322718e+01 7.26230665e+00 4 -3.37833936e+01 1.07219716e+01 -7.91419158e+00 5 5.42430212e+00 -2.17724390e+01 -1.68096147e+01 6 1.78923129e+01 7.05667004e+00 -2.65237382e+01 7 1.86698677e+01 -3.24813842e+01 2.48700861e+00 8 -1.33709671e+01 -6.78500913e+00 5.39665150e+00 9 -1.54459527e+01 -5.45803152e+00 -2.17882871e+01 10 -1.10731893e+01 2.02099795e+01 -2.71754609e+01 11 -1.05270203e+01 2.94294408e+00 -6.00357485e+00 12 -1.83488246e+01 2.11303324e+01 4.68636073e+00 13 9.60301959e+00 -3.96094781e-02 -2.61803067e+01 14 1.52807958e+01 1.10676666e+01 -1.31340074e+01 15 2.78142609e+01 1.15883539e+01 -3.46772809e+00 16 1.02330539e+01 2.65439649e+01 1.20567862e+01 17 -1.71979571e+01 -2.70266758e+01 4.53710231e+00 18 1.28113902e+01 -1.01058038e+01 1.30742691e+01 19 -5.33056273e+00 -1.58684978e+01 1.88107859e+01 20 -1.65627888e+01 3.94286671e+00 2.35612044e+01 21 -8.34001145e+00 -2.55520021e+01 -2.30101303e+01 22 2.76504365e+01 5.86540760e+00 -4.57816817e+00 23 2.50793032e+01 -2.57447139e+01 2.76247643e+01 24 -1.79116264e+01 1.29498021e+01 2.60490028e+01 25 -2.97456632e+01 4.36023452e+00 -2.08454437e+00 26 7.62083742e+00 2.81328576e+01 -7.10086770e+00 27 6.31315614e+00 -1.11802487e+01 3.02216416e+01 28 -1.66272442e+01 1.41769650e+01 1.64999346e+01 29 9.99841155e-01 -2.87577161e+00 3.69104370e+00 30 2.09830083e+01 1.95233527e+01 -9.58618271e+00 31 1.98196152e+01 4.91756310e+00 2.02133452e+01 32 -6.14071136e+00 1.53535663e+01 2.03930447e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==93541== Memcheck, a memory error detector ==93541== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==93541== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==93541== Command: python runner2.py EAM_Dynamo_ZhouWadleyJohnson_2001NISTretabulation_Ti__MO_101966451181_000 ==93541== ==93541== Conditional jump or move depends on uninitialised value(s) ==93541== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==93541== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==93541== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==93541== by 0x547A3F: ??? (in /usr/bin/python3.6) ==93541== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==93541== by 0x5BA640: ??? (in /usr/bin/python3.6) ==93541== by 0x551B80: ??? (in /usr/bin/python3.6) ==93541== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==93541== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==93541== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==93541== by 0x509D47: ??? (in /usr/bin/python3.6) ==93541== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==93541== ==93541== Conditional jump or move depends on uninitialised value(s) ==93541== at 0x4E63408: internal_utf8_loop (loop.c:298) ==93541== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==93541== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==93541== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==93541== by 0x547A3F: ??? (in /usr/bin/python3.6) ==93541== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==93541== by 0x5BA640: ??? (in /usr/bin/python3.6) ==93541== by 0x551B80: ??? (in /usr/bin/python3.6) ==93541== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==93541== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==93541== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==93541== by 0x509D47: ??? (in /usr/bin/python3.6) ==93541== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==93541== ==93541== Conditional jump or move depends on uninitialised value(s) ==93541== at 0x4E63411: internal_utf8_loop (loop.c:303) ==93541== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==93541== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==93541== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==93541== by 0x547A3F: ??? (in /usr/bin/python3.6) ==93541== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==93541== by 0x5BA640: ??? (in /usr/bin/python3.6) ==93541== by 0x551B80: ??? (in /usr/bin/python3.6) ==93541== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==93541== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==93541== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==93541== by 0x509D47: ??? (in /usr/bin/python3.6) ==93541== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==93541== ==93541== Conditional jump or move depends on uninitialised value(s) ==93541== at 0x4E63458: internal_utf8_loop (loop.c:298) ==93541== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==93541== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==93541== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==93541== by 0x547A3F: ??? (in /usr/bin/python3.6) ==93541== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==93541== by 0x5BA640: ??? (in /usr/bin/python3.6) ==93541== by 0x551B80: ??? (in /usr/bin/python3.6) ==93541== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==93541== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==93541== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==93541== by 0x509D47: ??? (in /usr/bin/python3.6) ==93541== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==93541== ==93541== Conditional jump or move depends on uninitialised value(s) ==93541== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==93541== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==93541== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==93541== by 0x547A3F: ??? (in /usr/bin/python3.6) ==93541== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==93541== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==93541== by 0x4F8388: ??? (in /usr/bin/python3.6) ==93541== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==93541== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==93541== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==93541== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==93541== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==93541== ==93541== ==93541== HEAP SUMMARY: ==93541== in use at exit: 2,764,995 bytes in 1,647 blocks ==93541== total heap usage: 36,280 allocs, 34,633 frees, 64,259,631 bytes allocated ==93541== ==93541== LEAK SUMMARY: ==93541== definitely lost: 0 bytes in 0 blocks ==93541== indirectly lost: 0 bytes in 0 blocks ==93541== possibly lost: 146,155 bytes in 87 blocks ==93541== still reachable: 2,618,840 bytes in 1,560 blocks ==93541== suppressed: 0 bytes in 0 blocks ==93541== Rerun with --leak-check=full to see details of leaked memory ==93541== ==93541== For counts of detected and suppressed errors, rerun with: -v ==93541== Use --track-origins=yes to see where uninitialised values come from ==93541== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11159 from 667) ================================================================================ 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.