!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : EDIP_JustoBazantKaxiras_1998_Si__MO_958932894036_002 Supported species : Si random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Si (Configuration in file "config-F-Si.xyz") ----------------------------------------------------------------------------------------------------- Energy = 116.62318225847696 Forces: 1 8.49108234e-02 4.75334141e-01 9.62950201e-01 2 -5.77099396e+00 8.14177978e-01 -1.24050300e+01 3 5.71830505e-01 -1.57169189e+01 -6.32666593e+00 4 -1.47359106e+01 -4.48036177e+00 9.03752107e-01 5 -5.99405936e+00 -9.39262467e+00 -1.30717538e+01 6 1.76640260e+01 -1.96093421e+00 -2.01752108e+01 7 6.29911452e+00 -2.24097181e+01 -1.95489295e-01 8 -3.32287739e+00 -3.57388111e+00 -6.68640865e+00 9 -1.65437251e+01 -8.85539660e+00 -1.82999198e+01 10 9.21929393e+00 1.27556434e+01 -1.16526709e+01 11 -1.52276966e+01 -4.10097213e+00 -1.12745930e+00 12 -2.25139924e+01 1.73647603e+01 -4.51460361e+00 13 1.05346487e+01 -5.34856313e+00 -2.06688932e+01 14 -1.47629556e+00 7.97568638e+00 -4.89224449e+00 15 2.82361538e+01 8.69912158e+00 -8.33783856e+00 16 7.31240928e+00 2.22644244e+01 5.15601540e+00 17 -1.15846736e+01 -8.31558210e+00 -8.18814523e+00 18 -1.96715331e+00 1.52098034e+00 2.32963290e-01 19 9.89842501e-01 -9.76509773e+00 1.39553697e+01 20 -1.55387737e+01 2.89688307e+00 8.19064754e+00 21 3.32973046e-01 -1.32621587e+01 6.98795569e+00 22 2.09945856e+01 4.18926556e+00 5.37058201e+00 23 4.27269686e+00 1.43916679e-01 4.12385855e+00 24 3.72408749e+00 -6.44816631e+00 3.10136347e+01 25 -2.76542935e+01 1.37227098e-01 4.14067912e+00 26 -3.96142344e+00 1.80237305e+01 -1.84622120e+00 27 -2.99551610e+00 -1.03292195e+01 1.54023830e+01 28 -1.17496633e+01 8.46214526e+00 6.91349747e+00 29 1.65996015e+01 -1.82617412e+00 7.54408015e+00 30 1.52730368e+01 1.07021437e+01 -1.46479999e+00 31 1.33404647e+01 -7.79464927e+00 1.66563791e+01 32 5.58737190e+00 1.71549779e+01 1.22986066e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Si (Configuration in file "config-T-Si.xyz") ----------------------------------------------------------------------------------------------------- Energy = 116.62318225847696 Forces: 1 8.49108234e-02 4.75334141e-01 9.62950201e-01 2 -5.77099396e+00 8.14177978e-01 -1.24050300e+01 3 5.71830505e-01 -1.57169189e+01 -6.32666593e+00 4 -1.47359106e+01 -4.48036177e+00 9.03752107e-01 5 -5.99405936e+00 -9.39262467e+00 -1.30717538e+01 6 1.76640260e+01 -1.96093421e+00 -2.01752108e+01 7 6.29911452e+00 -2.24097181e+01 -1.95489295e-01 8 -3.32287739e+00 -3.57388111e+00 -6.68640865e+00 9 -1.65437251e+01 -8.85539660e+00 -1.82999198e+01 10 9.21929393e+00 1.27556434e+01 -1.16526709e+01 11 -1.52276966e+01 -4.10097213e+00 -1.12745930e+00 12 -2.25139924e+01 1.73647603e+01 -4.51460361e+00 13 1.05346487e+01 -5.34856313e+00 -2.06688932e+01 14 -1.47629556e+00 7.97568638e+00 -4.89224449e+00 15 2.82361538e+01 8.69912158e+00 -8.33783856e+00 16 7.31240928e+00 2.22644244e+01 5.15601540e+00 17 -1.15846736e+01 -8.31558210e+00 -8.18814523e+00 18 -1.96715331e+00 1.52098034e+00 2.32963290e-01 19 9.89842501e-01 -9.76509773e+00 1.39553697e+01 20 -1.55387737e+01 2.89688307e+00 8.19064754e+00 21 3.32973046e-01 -1.32621587e+01 6.98795569e+00 22 2.09945856e+01 4.18926556e+00 5.37058201e+00 23 4.27269686e+00 1.43916679e-01 4.12385855e+00 24 3.72408749e+00 -6.44816631e+00 3.10136347e+01 25 -2.76542935e+01 1.37227098e-01 4.14067912e+00 26 -3.96142344e+00 1.80237305e+01 -1.84622120e+00 27 -2.99551610e+00 -1.03292195e+01 1.54023830e+01 28 -1.17496633e+01 8.46214526e+00 6.91349747e+00 29 1.65996015e+01 -1.82617412e+00 7.54408015e+00 30 1.52730368e+01 1.07021437e+01 -1.46479999e+00 31 1.33404647e+01 -7.79464927e+00 1.66563791e+01 32 5.58737190e+00 1.71549779e+01 1.22986066e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==95312== Memcheck, a memory error detector ==95312== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==95312== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==95312== Command: python runner2.py EDIP_JustoBazantKaxiras_1998_Si__MO_958932894036_002 ==95312== ==95312== Conditional jump or move depends on uninitialised value(s) ==95312== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==95312== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==95312== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95312== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95312== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95312== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95312== by 0x551B80: ??? (in /usr/bin/python3.6) ==95312== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95312== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95312== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95312== by 0x509D47: ??? (in /usr/bin/python3.6) ==95312== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95312== ==95312== Conditional jump or move depends on uninitialised value(s) ==95312== at 0x4E63408: internal_utf8_loop (loop.c:298) ==95312== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==95312== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==95312== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95312== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95312== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95312== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95312== by 0x551B80: ??? (in /usr/bin/python3.6) ==95312== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95312== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95312== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95312== by 0x509D47: ??? (in /usr/bin/python3.6) ==95312== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95312== ==95312== Conditional jump or move depends on uninitialised value(s) ==95312== at 0x4E63411: internal_utf8_loop (loop.c:303) ==95312== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==95312== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==95312== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95312== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95312== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95312== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95312== by 0x551B80: ??? (in /usr/bin/python3.6) ==95312== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95312== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95312== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95312== by 0x509D47: ??? (in /usr/bin/python3.6) ==95312== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95312== ==95312== Conditional jump or move depends on uninitialised value(s) ==95312== at 0x4E63458: internal_utf8_loop (loop.c:298) ==95312== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==95312== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==95312== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95312== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95312== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95312== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95312== by 0x551B80: ??? (in /usr/bin/python3.6) ==95312== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95312== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95312== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95312== by 0x509D47: ??? (in /usr/bin/python3.6) ==95312== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95312== ==95312== Conditional jump or move depends on uninitialised value(s) ==95312== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==95312== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==95312== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95312== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95312== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==95312== by 0x4CAD31: ??? (in /usr/bin/python3.6) ==95312== by 0x551B80: ??? (in /usr/bin/python3.6) ==95312== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95312== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95312== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95312== by 0x509D47: ??? (in /usr/bin/python3.6) ==95312== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95312== ==95312== ==95312== HEAP SUMMARY: ==95312== in use at exit: 2,764,995 bytes in 1,647 blocks ==95312== total heap usage: 36,923 allocs, 35,276 frees, 61,447,972 bytes allocated ==95312== ==95312== LEAK SUMMARY: ==95312== definitely lost: 0 bytes in 0 blocks ==95312== indirectly lost: 0 bytes in 0 blocks ==95312== possibly lost: 146,155 bytes in 87 blocks ==95312== still reachable: 2,618,840 bytes in 1,560 blocks ==95312== suppressed: 0 bytes in 0 blocks ==95312== Rerun with --leak-check=full to see details of leaked memory ==95312== ==95312== For counts of detected and suppressed errors, rerun with: -v ==95312== Use --track-origins=yes to see where uninitialised values come from ==95312== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11579 from 654) ================================================================================ 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.