!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : SNAP_ZuoChenLi_2019quadratic_Ni__MO_263593395744_000 Supported species : Ni random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ni (Configuration in file "config-F-Ni.xyz") ----------------------------------------------------------------------------------------------------- Energy = -75.19736371206606 Forces: 1 -1.03940783e+01 -7.49398061e+00 -2.00843725e+01 2 -5.47069287e+00 4.97408772e+00 -5.07529407e+00 3 6.95919929e+00 -1.73182101e+01 1.61513167e+00 4 -1.41587855e+01 1.35899470e+01 5.94181091e+00 5 1.19046469e+01 -8.61001828e+00 -5.00066203e+00 6 1.53994925e+00 -8.65089677e+00 -4.27820750e+00 7 4.04002605e+00 -1.38402461e+01 -2.16293945e+01 8 -1.21016200e+01 -1.47173562e+01 1.50861923e+00 9 4.90828234e+00 5.56808455e+00 2.93471669e+00 10 -7.15065464e+00 1.70594262e+01 -2.78252334e+01 11 -1.74400298e+01 -1.98429384e+01 -7.66991391e+00 12 -2.37277315e+00 3.40051191e+00 -1.27520209e+00 13 2.00051108e+00 -6.90526687e-01 -3.65828698e+01 14 1.03017742e+01 -5.65035605e-01 -8.36436060e+00 15 3.17941116e+01 -5.95333678e+00 2.11996071e+01 16 -1.86013092e+01 3.61225009e+01 1.11780491e+01 17 -2.21416952e+01 -1.92209915e+01 -2.92207332e+01 18 7.13920311e+00 9.84836280e-01 -1.79671702e+00 19 2.17369093e+01 -2.29275005e+01 2.06059511e+01 20 -2.38298005e+01 1.65342869e+01 3.21624320e+01 21 -5.80653844e-02 -1.30779663e+01 1.15721862e+01 22 2.19873877e+01 9.01443118e+00 1.48294814e+01 23 -2.31299821e+00 1.11236380e+00 -4.58005749e-01 24 7.99820228e+00 5.01801222e+00 3.70627079e+00 25 -2.79896248e-01 -3.24679802e+00 -4.42949199e+00 26 -3.65862565e+00 3.68816416e+01 3.42654803e+00 27 -8.57202080e+00 -1.14525653e+01 2.33271465e+01 28 -7.77172901e+00 6.38943167e+00 -2.37814041e-01 29 -6.66835840e+00 -9.40928452e+00 1.27596341e+01 30 1.22329319e+01 1.84343906e+01 2.03268205e+00 31 6.10506777e+00 -9.60117028e+00 -5.33869080e+00 32 1.23349301e+01 1.15348694e+01 1.04666965e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ni (Configuration in file "config-T-Ni.xyz") ----------------------------------------------------------------------------------------------------- Energy = -75.19736371206606 Forces: 1 -1.03940783e+01 -7.49398061e+00 -2.00843725e+01 2 -5.47069287e+00 4.97408772e+00 -5.07529407e+00 3 6.95919929e+00 -1.73182101e+01 1.61513167e+00 4 -1.41587855e+01 1.35899470e+01 5.94181091e+00 5 1.19046469e+01 -8.61001828e+00 -5.00066203e+00 6 1.53994925e+00 -8.65089677e+00 -4.27820750e+00 7 4.04002605e+00 -1.38402461e+01 -2.16293945e+01 8 -1.21016200e+01 -1.47173562e+01 1.50861923e+00 9 4.90828234e+00 5.56808455e+00 2.93471669e+00 10 -7.15065464e+00 1.70594262e+01 -2.78252334e+01 11 -1.74400298e+01 -1.98429384e+01 -7.66991391e+00 12 -2.37277315e+00 3.40051191e+00 -1.27520209e+00 13 2.00051108e+00 -6.90526687e-01 -3.65828698e+01 14 1.03017742e+01 -5.65035605e-01 -8.36436060e+00 15 3.17941116e+01 -5.95333678e+00 2.11996071e+01 16 -1.86013092e+01 3.61225009e+01 1.11780491e+01 17 -2.21416952e+01 -1.92209915e+01 -2.92207332e+01 18 7.13920311e+00 9.84836280e-01 -1.79671702e+00 19 2.17369093e+01 -2.29275005e+01 2.06059511e+01 20 -2.38298005e+01 1.65342869e+01 3.21624320e+01 21 -5.80653844e-02 -1.30779663e+01 1.15721862e+01 22 2.19873877e+01 9.01443118e+00 1.48294814e+01 23 -2.31299821e+00 1.11236380e+00 -4.58005749e-01 24 7.99820228e+00 5.01801222e+00 3.70627079e+00 25 -2.79896248e-01 -3.24679802e+00 -4.42949199e+00 26 -3.65862565e+00 3.68816416e+01 3.42654803e+00 27 -8.57202080e+00 -1.14525653e+01 2.33271465e+01 28 -7.77172901e+00 6.38943167e+00 -2.37814041e-01 29 -6.66835840e+00 -9.40928452e+00 1.27596341e+01 30 1.22329319e+01 1.84343906e+01 2.03268205e+00 31 6.10506777e+00 -9.60117028e+00 -5.33869080e+00 32 1.23349301e+01 1.15348694e+01 1.04666965e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==1846== Memcheck, a memory error detector ==1846== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==1846== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==1846== Command: python runner2.py SNAP_ZuoChenLi_2019quadratic_Ni__MO_263593395744_000 ==1846== ==1846== Conditional jump or move depends on uninitialised value(s) ==1846== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==1846== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==1846== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==1846== by 0x547A3F: ??? (in /usr/bin/python3.6) ==1846== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==1846== by 0x5BA640: ??? (in /usr/bin/python3.6) ==1846== by 0x551B80: ??? (in /usr/bin/python3.6) ==1846== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==1846== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==1846== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==1846== by 0x509D47: ??? (in /usr/bin/python3.6) ==1846== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==1846== ==1846== Conditional jump or move depends on uninitialised value(s) ==1846== at 0x4E63408: internal_utf8_loop (loop.c:298) ==1846== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==1846== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==1846== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==1846== by 0x547A3F: ??? (in /usr/bin/python3.6) ==1846== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==1846== by 0x5BA640: ??? (in /usr/bin/python3.6) ==1846== by 0x551B80: ??? (in /usr/bin/python3.6) ==1846== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==1846== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==1846== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==1846== by 0x509D47: ??? (in /usr/bin/python3.6) ==1846== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==1846== ==1846== Conditional jump or move depends on uninitialised value(s) ==1846== at 0x4E63411: internal_utf8_loop (loop.c:303) ==1846== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==1846== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==1846== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==1846== by 0x547A3F: ??? (in /usr/bin/python3.6) ==1846== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==1846== by 0x5BA640: ??? (in /usr/bin/python3.6) ==1846== by 0x551B80: ??? (in /usr/bin/python3.6) ==1846== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==1846== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==1846== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==1846== by 0x509D47: ??? (in /usr/bin/python3.6) ==1846== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==1846== ==1846== Conditional jump or move depends on uninitialised value(s) ==1846== at 0x4E63458: internal_utf8_loop (loop.c:298) ==1846== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==1846== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==1846== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==1846== by 0x547A3F: ??? (in /usr/bin/python3.6) ==1846== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==1846== by 0x5BA640: ??? (in /usr/bin/python3.6) ==1846== by 0x551B80: ??? (in /usr/bin/python3.6) ==1846== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==1846== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==1846== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==1846== by 0x509D47: ??? (in /usr/bin/python3.6) ==1846== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==1846== ==1846== Conditional jump or move depends on uninitialised value(s) ==1846== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==1846== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==1846== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==1846== by 0x547A3F: ??? (in /usr/bin/python3.6) ==1846== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==1846== by 0x4CAD31: ??? (in /usr/bin/python3.6) ==1846== by 0x551B80: ??? (in /usr/bin/python3.6) ==1846== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==1846== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==1846== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==1846== by 0x509D47: ??? (in /usr/bin/python3.6) ==1846== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==1846== ==1846== ==1846== HEAP SUMMARY: ==1846== in use at exit: 2,764,995 bytes in 1,647 blocks ==1846== total heap usage: 36,484 allocs, 34,837 frees, 62,166,274 bytes allocated ==1846== ==1846== LEAK SUMMARY: ==1846== definitely lost: 0 bytes in 0 blocks ==1846== indirectly lost: 0 bytes in 0 blocks ==1846== possibly lost: 146,155 bytes in 87 blocks ==1846== still reachable: 2,618,840 bytes in 1,560 blocks ==1846== suppressed: 0 bytes in 0 blocks ==1846== Rerun with --leak-check=full to see details of leaked memory ==1846== ==1846== For counts of detected and suppressed errors, rerun with: -v ==1846== Use --track-origins=yes to see where uninitialised values come from ==1846== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11578 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.