!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_ZhouJohnsonWadley_2004_Zr__MO_103270551167_005 Supported species : Zr random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Zr (Configuration in file "config-F-Zr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 30.614660913355216 Forces: 1 -5.89565254e+00 -1.03833165e+01 -1.11081681e+01 2 -5.03116556e+00 6.74313625e+00 -1.06859856e+01 3 6.76901363e+00 -1.89492711e+01 -8.04432243e+00 4 -1.43402490e+01 6.33074407e+00 2.29035516e-01 5 -1.32009595e+00 -1.80707080e+01 -6.64668516e+00 6 1.11393336e+01 7.48453416e+00 -1.23718618e+01 7 1.33924420e+01 -3.24938471e+01 -2.08183632e+01 8 -1.53778484e+01 -1.18677356e+01 -2.49779354e+00 9 -1.19464811e+01 -8.41083264e+00 -1.90807637e+01 10 -4.93790313e+00 2.12405750e+01 -2.25432735e+01 11 -4.49182627e+00 -1.34519634e+01 3.57611025e+00 12 -1.31888481e+01 1.86705970e+01 2.50808154e+00 13 -5.94546529e+00 -1.50469764e+01 -4.43099195e+01 14 1.00449623e+01 1.24752191e+01 -8.49471656e+00 15 4.14370208e+01 -5.11383178e+00 8.43800989e+00 16 7.02875495e+00 3.55192577e+01 1.31422167e+01 17 -2.07040222e+01 -1.37216378e+01 -3.09783971e+00 18 1.16291874e+01 1.43682624e+01 1.03056619e+01 19 4.43331952e+00 -1.56907590e+01 9.39063061e+00 20 -8.29307870e+00 9.17028132e+00 9.97973621e+00 21 -1.31409830e+01 -1.42639140e+01 7.99087127e+00 22 2.24765184e+01 2.46838244e+01 1.69516783e+01 23 6.46877447e+00 -4.54444568e+00 1.30507071e+01 24 3.00379438e+00 7.02871846e+00 7.33179612e+00 25 -1.75944857e+01 -6.49492104e+00 9.94766476e+00 26 -7.31451579e+00 2.43613845e+01 -9.54334615e+00 27 9.30366552e+00 -3.25173490e+01 1.48855827e+01 28 -2.67832614e+01 2.27786826e+01 6.85862425e+00 29 -8.28278538e+00 -1.32133174e+01 1.01328506e+01 30 1.13027473e+01 1.77321884e+01 -1.31642912e+00 31 1.70564680e+01 -1.26377265e+01 1.70914416e+01 32 9.10266501e+00 1.82851477e+01 1.87487688e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Zr (Configuration in file "config-T-Zr.xyz") ----------------------------------------------------------------------------------------------------- Energy = 30.614660913355216 Forces: 1 -5.89565254e+00 -1.03833165e+01 -1.11081681e+01 2 -5.03116556e+00 6.74313625e+00 -1.06859856e+01 3 6.76901363e+00 -1.89492711e+01 -8.04432243e+00 4 -1.43402490e+01 6.33074407e+00 2.29035516e-01 5 -1.32009595e+00 -1.80707080e+01 -6.64668516e+00 6 1.11393336e+01 7.48453416e+00 -1.23718618e+01 7 1.33924420e+01 -3.24938471e+01 -2.08183632e+01 8 -1.53778484e+01 -1.18677356e+01 -2.49779354e+00 9 -1.19464811e+01 -8.41083264e+00 -1.90807637e+01 10 -4.93790313e+00 2.12405750e+01 -2.25432735e+01 11 -4.49182627e+00 -1.34519634e+01 3.57611025e+00 12 -1.31888481e+01 1.86705970e+01 2.50808154e+00 13 -5.94546529e+00 -1.50469764e+01 -4.43099195e+01 14 1.00449623e+01 1.24752191e+01 -8.49471656e+00 15 4.14370208e+01 -5.11383178e+00 8.43800989e+00 16 7.02875495e+00 3.55192577e+01 1.31422167e+01 17 -2.07040222e+01 -1.37216378e+01 -3.09783971e+00 18 1.16291874e+01 1.43682624e+01 1.03056619e+01 19 4.43331952e+00 -1.56907590e+01 9.39063061e+00 20 -8.29307870e+00 9.17028132e+00 9.97973621e+00 21 -1.31409830e+01 -1.42639140e+01 7.99087127e+00 22 2.24765184e+01 2.46838244e+01 1.69516783e+01 23 6.46877447e+00 -4.54444568e+00 1.30507071e+01 24 3.00379438e+00 7.02871846e+00 7.33179612e+00 25 -1.75944857e+01 -6.49492104e+00 9.94766476e+00 26 -7.31451579e+00 2.43613845e+01 -9.54334615e+00 27 9.30366552e+00 -3.25173490e+01 1.48855827e+01 28 -2.67832614e+01 2.27786826e+01 6.85862425e+00 29 -8.28278538e+00 -1.32133174e+01 1.01328506e+01 30 1.13027473e+01 1.77321884e+01 -1.31642912e+00 31 1.70564680e+01 -1.26377265e+01 1.70914416e+01 32 9.10266501e+00 1.82851477e+01 1.87487688e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==92592== Memcheck, a memory error detector ==92592== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==92592== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==92592== Command: python runner2.py EAM_Dynamo_ZhouJohnsonWadley_2004_Zr__MO_103270551167_005 ==92592== ==92592== Conditional jump or move depends on uninitialised value(s) ==92592== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==92592== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92592== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92592== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92592== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92592== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92592== by 0x551B80: ??? (in /usr/bin/python3.6) ==92592== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92592== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92592== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92592== by 0x509D47: ??? (in /usr/bin/python3.6) ==92592== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92592== ==92592== Conditional jump or move depends on uninitialised value(s) ==92592== at 0x4E63408: internal_utf8_loop (loop.c:298) ==92592== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==92592== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92592== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92592== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92592== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92592== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92592== by 0x551B80: ??? (in /usr/bin/python3.6) ==92592== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92592== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92592== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92592== by 0x509D47: ??? (in /usr/bin/python3.6) ==92592== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92592== ==92592== Conditional jump or move depends on uninitialised value(s) ==92592== at 0x4E63411: internal_utf8_loop (loop.c:303) ==92592== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==92592== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92592== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92592== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92592== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92592== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92592== by 0x551B80: ??? (in /usr/bin/python3.6) ==92592== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92592== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92592== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92592== by 0x509D47: ??? (in /usr/bin/python3.6) ==92592== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92592== ==92592== Conditional jump or move depends on uninitialised value(s) ==92592== at 0x4E63458: internal_utf8_loop (loop.c:298) ==92592== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==92592== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==92592== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92592== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92592== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==92592== by 0x5BA640: ??? (in /usr/bin/python3.6) ==92592== by 0x551B80: ??? (in /usr/bin/python3.6) ==92592== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==92592== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==92592== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92592== by 0x509D47: ??? (in /usr/bin/python3.6) ==92592== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==92592== ==92592== Conditional jump or move depends on uninitialised value(s) ==92592== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==92592== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==92592== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==92592== by 0x547A3F: ??? (in /usr/bin/python3.6) ==92592== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==92592== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==92592== by 0x4F8388: ??? (in /usr/bin/python3.6) ==92592== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==92592== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==92592== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==92592== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==92592== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==92592== ==92592== ==92592== HEAP SUMMARY: ==92592== in use at exit: 2,764,995 bytes in 1,647 blocks ==92592== total heap usage: 38,180 allocs, 36,533 frees, 68,751,040 bytes allocated ==92592== ==92592== LEAK SUMMARY: ==92592== definitely lost: 0 bytes in 0 blocks ==92592== indirectly lost: 0 bytes in 0 blocks ==92592== possibly lost: 146,155 bytes in 87 blocks ==92592== still reachable: 2,618,840 bytes in 1,560 blocks ==92592== suppressed: 0 bytes in 0 blocks ==92592== Rerun with --leak-check=full to see details of leaked memory ==92592== ==92592== For counts of detected and suppressed errors, rerun with: -v ==92592== Use --track-origins=yes to see where uninitialised values come from ==92592== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12370 from 652) ================================================================================ 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.