!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_NicholAckland_2016_Na__MO_048172193005_000 Supported species : Na random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Na (Configuration in file "config-F-Na.xyz") ----------------------------------------------------------------------------------------------------- Energy = 143.94391760386833 Forces: 1 -3.99676753e+00 -1.08609065e+01 -8.94809175e+00 2 -3.50249228e+00 2.52455145e+00 -9.06845421e+00 3 2.32857943e+00 -7.58253052e+00 -2.42051323e+00 4 -6.80226025e+00 6.37450537e+00 6.12595956e+00 5 2.29199683e+00 -1.15035392e+01 -5.00126849e+00 6 6.65299469e+00 7.41595605e-01 -8.07844176e+00 7 6.30810554e+00 -1.77245430e+01 -1.25174021e+01 8 -1.12766278e+01 -1.11514491e+01 2.13721633e+00 9 -9.84835104e+00 5.24512459e-02 -1.19356011e+01 10 -4.12486886e+00 1.48067272e+01 -1.34081498e+01 11 -4.46240580e+00 -8.55864253e+00 7.29558682e+00 12 -7.99152977e+00 1.20723561e+01 -4.65096436e+00 13 9.10679645e-04 -2.53532796e+00 -2.55245719e+01 14 6.45567939e+00 6.28892856e+00 -4.09429326e+00 15 2.56223302e+01 5.23126338e+00 5.02863156e+00 16 5.35030855e+00 1.82980498e+01 7.43660430e+00 17 -1.12952652e+01 -6.21117601e+00 -9.38767975e-01 18 2.84822673e+00 6.90925703e+00 -3.85774012e+00 19 1.99273122e+00 -1.13288079e+01 7.42966656e+00 20 -7.37875472e+00 3.24615170e+00 6.88299867e+00 21 -6.35220579e+00 -8.19683916e+00 4.68104632e+00 22 1.31389488e+01 1.12622356e+01 1.13328211e+01 23 3.92817109e+00 -2.34420232e+00 6.70784785e+00 24 3.93354456e+00 1.36035093e+00 7.09172534e+00 25 -7.86877119e+00 -8.54203547e+00 4.81695806e+00 26 -3.40278697e+00 1.37536059e+01 -4.27389423e+00 27 4.93267336e+00 -1.61751421e+01 9.35429207e+00 28 -1.66079982e+01 1.39078387e+01 5.04145708e+00 29 -3.77181469e+00 -7.09874220e+00 3.49052888e+00 30 7.71445692e+00 1.05798186e+01 -3.30276551e+00 31 9.84593763e+00 -7.75189273e+00 1.15345734e+01 32 5.33730450e+00 1.01560896e+01 1.16330059e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Na (Configuration in file "config-T-Na.xyz") ----------------------------------------------------------------------------------------------------- Energy = 143.94391760386833 Forces: 1 -3.99676753e+00 -1.08609065e+01 -8.94809175e+00 2 -3.50249228e+00 2.52455145e+00 -9.06845421e+00 3 2.32857943e+00 -7.58253052e+00 -2.42051323e+00 4 -6.80226025e+00 6.37450537e+00 6.12595956e+00 5 2.29199683e+00 -1.15035392e+01 -5.00126849e+00 6 6.65299469e+00 7.41595605e-01 -8.07844176e+00 7 6.30810554e+00 -1.77245430e+01 -1.25174021e+01 8 -1.12766278e+01 -1.11514491e+01 2.13721633e+00 9 -9.84835104e+00 5.24512459e-02 -1.19356011e+01 10 -4.12486886e+00 1.48067272e+01 -1.34081498e+01 11 -4.46240580e+00 -8.55864253e+00 7.29558682e+00 12 -7.99152977e+00 1.20723561e+01 -4.65096436e+00 13 9.10679645e-04 -2.53532796e+00 -2.55245719e+01 14 6.45567939e+00 6.28892856e+00 -4.09429326e+00 15 2.56223302e+01 5.23126338e+00 5.02863156e+00 16 5.35030855e+00 1.82980498e+01 7.43660430e+00 17 -1.12952652e+01 -6.21117601e+00 -9.38767975e-01 18 2.84822673e+00 6.90925703e+00 -3.85774012e+00 19 1.99273122e+00 -1.13288079e+01 7.42966656e+00 20 -7.37875472e+00 3.24615170e+00 6.88299867e+00 21 -6.35220579e+00 -8.19683916e+00 4.68104632e+00 22 1.31389488e+01 1.12622356e+01 1.13328211e+01 23 3.92817109e+00 -2.34420232e+00 6.70784785e+00 24 3.93354456e+00 1.36035093e+00 7.09172534e+00 25 -7.86877119e+00 -8.54203547e+00 4.81695806e+00 26 -3.40278697e+00 1.37536059e+01 -4.27389423e+00 27 4.93267336e+00 -1.61751421e+01 9.35429207e+00 28 -1.66079982e+01 1.39078387e+01 5.04145708e+00 29 -3.77181469e+00 -7.09874220e+00 3.49052888e+00 30 7.71445692e+00 1.05798186e+01 -3.30276551e+00 31 9.84593763e+00 -7.75189273e+00 1.15345734e+01 32 5.33730450e+00 1.01560896e+01 1.16330059e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==89821== Memcheck, a memory error detector ==89821== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==89821== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==89821== Command: python runner2.py EAM_Dynamo_NicholAckland_2016_Na__MO_048172193005_000 ==89821== ==89821== Conditional jump or move depends on uninitialised value(s) ==89821== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==89821== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==89821== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==89821== by 0x547A3F: ??? (in /usr/bin/python3.6) ==89821== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==89821== by 0x5BA640: ??? (in /usr/bin/python3.6) ==89821== by 0x551B80: ??? (in /usr/bin/python3.6) ==89821== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==89821== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==89821== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==89821== by 0x509D47: ??? (in /usr/bin/python3.6) ==89821== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==89821== ==89821== Conditional jump or move depends on uninitialised value(s) ==89821== at 0x4E63408: internal_utf8_loop (loop.c:298) ==89821== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==89821== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==89821== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==89821== by 0x547A3F: ??? (in /usr/bin/python3.6) ==89821== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==89821== by 0x5BA640: ??? (in /usr/bin/python3.6) ==89821== by 0x551B80: ??? (in /usr/bin/python3.6) ==89821== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==89821== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==89821== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==89821== by 0x509D47: ??? (in /usr/bin/python3.6) ==89821== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==89821== ==89821== Conditional jump or move depends on uninitialised value(s) ==89821== at 0x4E63411: internal_utf8_loop (loop.c:303) ==89821== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==89821== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==89821== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==89821== by 0x547A3F: ??? (in /usr/bin/python3.6) ==89821== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==89821== by 0x5BA640: ??? (in /usr/bin/python3.6) ==89821== by 0x551B80: ??? (in /usr/bin/python3.6) ==89821== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==89821== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==89821== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==89821== by 0x509D47: ??? (in /usr/bin/python3.6) ==89821== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==89821== ==89821== Conditional jump or move depends on uninitialised value(s) ==89821== at 0x4E63458: internal_utf8_loop (loop.c:298) ==89821== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==89821== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==89821== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==89821== by 0x547A3F: ??? (in /usr/bin/python3.6) ==89821== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==89821== by 0x5BA640: ??? (in /usr/bin/python3.6) ==89821== by 0x551B80: ??? (in /usr/bin/python3.6) ==89821== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==89821== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==89821== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==89821== by 0x509D47: ??? (in /usr/bin/python3.6) ==89821== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==89821== ==89821== Conditional jump or move depends on uninitialised value(s) ==89821== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==89821== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==89821== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==89821== by 0x547A3F: ??? (in /usr/bin/python3.6) ==89821== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==89821== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==89821== by 0x4F8388: ??? (in /usr/bin/python3.6) ==89821== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==89821== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==89821== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==89821== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==89821== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==89821== ==89821== ==89821== HEAP SUMMARY: ==89821== in use at exit: 2,764,995 bytes in 1,647 blocks ==89821== total heap usage: 36,172 allocs, 34,525 frees, 73,427,361 bytes allocated ==89821== ==89821== LEAK SUMMARY: ==89821== definitely lost: 0 bytes in 0 blocks ==89821== indirectly lost: 0 bytes in 0 blocks ==89821== possibly lost: 146,155 bytes in 87 blocks ==89821== still reachable: 2,618,840 bytes in 1,560 blocks ==89821== suppressed: 0 bytes in 0 blocks ==89821== Rerun with --leak-check=full to see details of leaked memory ==89821== ==89821== For counts of detected and suppressed errors, rerun with: -v ==89821== Use --track-origins=yes to see where uninitialised values come from ==89821== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12366 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.