!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_LiSiegelAdams_2003_Ta__MO_103054252769_005 Supported species : Ta random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ta (Configuration in file "config-F-Ta.xyz") ----------------------------------------------------------------------------------------------------- Energy = -185.71079743727114 Forces: 1 -4.07853523e+00 -7.80611679e+00 -9.88006998e+00 2 -9.35460818e+00 1.38331549e+01 -4.28961231e+00 3 5.05796909e+00 -5.95087071e+00 5.60379521e+00 4 -4.11678337e+00 1.13941759e+01 7.33051886e+00 5 1.12943782e+01 -1.06645861e+01 -1.70845264e+00 6 4.20854950e-01 1.39940268e+00 2.52766152e-01 7 3.10744142e+00 -1.18511348e+01 -1.07616807e+01 8 -5.56405663e+00 -1.50730665e+00 -5.86784457e-01 9 6.40491747e-01 -1.22246623e+00 3.28965210e-01 10 -1.87121354e+00 1.41397035e+00 -3.36918581e+00 11 3.43585109e+00 -4.64829044e+00 -6.62206156e+00 12 -1.48703358e+00 6.60482657e+00 -4.07197275e+00 13 -5.53531420e+00 -4.79124914e+00 -1.07717876e+01 14 6.12248521e-01 1.66295081e+00 -6.18259677e-01 15 1.15910893e+01 -6.82898617e-01 4.87122151e+00 16 2.25166417e+00 7.97991293e+00 2.18652004e+00 17 -5.67592451e+00 -6.04018177e+00 -5.27289895e+00 18 5.26670457e+00 4.95677445e+00 -3.68498061e+00 19 3.66309392e+00 -4.46076222e+00 3.54066307e+00 20 -2.46824178e+00 5.52514280e+00 5.81134025e+00 21 -7.43603900e+00 -3.69978590e+00 5.53493782e-01 22 6.79135395e+00 1.19738444e+01 7.92596195e+00 23 2.29101681e+00 -7.87963982e-01 3.72315893e+00 24 -1.94550043e-02 2.90837568e+00 1.47809113e+00 25 -7.91689324e+00 -5.25180244e+00 9.06211595e+00 26 -2.01049456e+00 5.47000741e+00 -1.74998148e+00 27 6.91643002e+00 -1.27440491e+01 2.25269002e+00 28 -9.20836880e+00 8.91720230e+00 3.90815379e-01 29 -1.36519849e+00 -3.23313536e+00 3.88286408e+00 30 1.03222573e-01 2.49659227e+00 -1.22781629e+00 31 2.93781456e+00 -3.89012656e+00 2.52374198e+00 32 1.72653532e+00 2.69639331e+00 2.89682130e+00 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ta (Configuration in file "config-T-Ta.xyz") ----------------------------------------------------------------------------------------------------- Energy = -185.71079743727114 Forces: 1 -4.07853523e+00 -7.80611679e+00 -9.88006998e+00 2 -9.35460818e+00 1.38331549e+01 -4.28961231e+00 3 5.05796909e+00 -5.95087071e+00 5.60379521e+00 4 -4.11678337e+00 1.13941759e+01 7.33051886e+00 5 1.12943782e+01 -1.06645861e+01 -1.70845264e+00 6 4.20854950e-01 1.39940268e+00 2.52766152e-01 7 3.10744142e+00 -1.18511348e+01 -1.07616807e+01 8 -5.56405663e+00 -1.50730665e+00 -5.86784457e-01 9 6.40491747e-01 -1.22246623e+00 3.28965210e-01 10 -1.87121354e+00 1.41397035e+00 -3.36918581e+00 11 3.43585109e+00 -4.64829044e+00 -6.62206156e+00 12 -1.48703358e+00 6.60482657e+00 -4.07197275e+00 13 -5.53531420e+00 -4.79124914e+00 -1.07717876e+01 14 6.12248521e-01 1.66295081e+00 -6.18259677e-01 15 1.15910893e+01 -6.82898617e-01 4.87122151e+00 16 2.25166417e+00 7.97991293e+00 2.18652004e+00 17 -5.67592451e+00 -6.04018177e+00 -5.27289895e+00 18 5.26670457e+00 4.95677445e+00 -3.68498061e+00 19 3.66309392e+00 -4.46076222e+00 3.54066307e+00 20 -2.46824178e+00 5.52514280e+00 5.81134025e+00 21 -7.43603900e+00 -3.69978590e+00 5.53493782e-01 22 6.79135395e+00 1.19738444e+01 7.92596195e+00 23 2.29101681e+00 -7.87963982e-01 3.72315893e+00 24 -1.94550043e-02 2.90837568e+00 1.47809113e+00 25 -7.91689324e+00 -5.25180244e+00 9.06211595e+00 26 -2.01049456e+00 5.47000741e+00 -1.74998148e+00 27 6.91643002e+00 -1.27440491e+01 2.25269002e+00 28 -9.20836880e+00 8.91720230e+00 3.90815379e-01 29 -1.36519849e+00 -3.23313536e+00 3.88286408e+00 30 1.03222573e-01 2.49659227e+00 -1.22781629e+00 31 2.93781456e+00 -3.89012656e+00 2.52374198e+00 32 1.72653532e+00 2.69639331e+00 2.89682130e+00 ================================================================================ VALGRIND OUTPUT ================================================================================ ==87560== Memcheck, a memory error detector ==87560== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==87560== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==87560== Command: python runner2.py EAM_Dynamo_LiSiegelAdams_2003_Ta__MO_103054252769_005 ==87560== ==87560== Conditional jump or move depends on uninitialised value(s) ==87560== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==87560== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==87560== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==87560== by 0x547A3F: ??? (in /usr/bin/python3.6) ==87560== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==87560== by 0x5BA640: ??? (in /usr/bin/python3.6) ==87560== by 0x551B80: ??? (in /usr/bin/python3.6) ==87560== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==87560== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==87560== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==87560== by 0x509D47: ??? (in /usr/bin/python3.6) ==87560== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==87560== ==87560== Conditional jump or move depends on uninitialised value(s) ==87560== at 0x4E63408: internal_utf8_loop (loop.c:298) ==87560== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==87560== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==87560== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==87560== by 0x547A3F: ??? (in /usr/bin/python3.6) ==87560== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==87560== by 0x5BA640: ??? (in /usr/bin/python3.6) ==87560== by 0x551B80: ??? (in /usr/bin/python3.6) ==87560== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==87560== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==87560== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==87560== by 0x509D47: ??? (in /usr/bin/python3.6) ==87560== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==87560== ==87560== Conditional jump or move depends on uninitialised value(s) ==87560== at 0x4E63411: internal_utf8_loop (loop.c:303) ==87560== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==87560== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==87560== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==87560== by 0x547A3F: ??? (in /usr/bin/python3.6) ==87560== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==87560== by 0x5BA640: ??? (in /usr/bin/python3.6) ==87560== by 0x551B80: ??? (in /usr/bin/python3.6) ==87560== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==87560== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==87560== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==87560== by 0x509D47: ??? (in /usr/bin/python3.6) ==87560== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==87560== ==87560== Conditional jump or move depends on uninitialised value(s) ==87560== at 0x4E63458: internal_utf8_loop (loop.c:298) ==87560== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==87560== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==87560== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==87560== by 0x547A3F: ??? (in /usr/bin/python3.6) ==87560== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==87560== by 0x5BA640: ??? (in /usr/bin/python3.6) ==87560== by 0x551B80: ??? (in /usr/bin/python3.6) ==87560== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==87560== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==87560== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==87560== by 0x509D47: ??? (in /usr/bin/python3.6) ==87560== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==87560== ==87560== Conditional jump or move depends on uninitialised value(s) ==87560== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==87560== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==87560== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==87560== by 0x547A3F: ??? (in /usr/bin/python3.6) ==87560== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==87560== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==87560== by 0x4F8388: ??? (in /usr/bin/python3.6) ==87560== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==87560== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==87560== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==87560== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==87560== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==87560== ==87560== ==87560== HEAP SUMMARY: ==87560== in use at exit: 2,764,995 bytes in 1,647 blocks ==87560== total heap usage: 40,376 allocs, 38,729 frees, 71,555,386 bytes allocated ==87560== ==87560== LEAK SUMMARY: ==87560== definitely lost: 0 bytes in 0 blocks ==87560== indirectly lost: 0 bytes in 0 blocks ==87560== possibly lost: 146,155 bytes in 87 blocks ==87560== still reachable: 2,618,840 bytes in 1,560 blocks ==87560== suppressed: 0 bytes in 0 blocks ==87560== Rerun with --leak-check=full to see details of leaked memory ==87560== ==87560== For counts of detected and suppressed errors, rerun with: -v ==87560== Use --track-origins=yes to see where uninitialised values come from ==87560== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12392 from 651) ================================================================================ 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.