!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : EMT_Asap_Standard_JacobsenStoltzeNorskov_1996_Pt__MO_637493005914_001 Supported species : Pt random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Pt (Configuration in file "config-F-Pt.xyz") ----------------------------------------------------------------------------------------------------- Energy = 422.4216752934138 Forces: 1 -1.59929826e+01 -4.08151842e+01 -4.11259980e+01 2 -3.37511640e+01 3.92927095e+01 -2.55126679e+01 3 2.38212921e+01 -2.06000730e+01 -8.92127663e+00 4 -2.07963136e+01 3.17448446e+01 2.66803763e+01 5 2.65623926e+01 -6.53858581e+01 -9.48386658e+00 6 2.58731406e+01 1.42903318e+01 -2.58536604e+01 7 1.87256341e+01 -1.38014737e+02 -1.36502569e+02 8 -6.59584038e+01 -4.99324742e+01 -2.39809787e+00 9 -5.08372047e+01 -3.16804623e+01 -7.86369963e+01 10 -2.19060857e+01 8.50419690e+01 -8.88261843e+01 11 -2.34008046e+01 -6.59089584e+01 6.23360276e+01 12 -3.85830059e+01 5.12098117e+01 2.33481715e+01 13 -3.40663299e+01 -5.23186045e+01 -1.83156018e+02 14 3.20742030e+01 4.18302545e+01 -2.89936080e+01 15 1.53581074e+02 -4.33546916e+01 3.56928487e+01 16 2.00479889e+01 1.18208686e+02 6.50600029e+01 17 -7.85170682e+01 -5.43476922e+01 -2.86078671e+01 18 6.43977882e+01 8.32429412e+01 -7.92904932e+01 19 2.80432400e+01 -9.24160578e+01 5.72996518e+01 20 -6.50233205e+01 3.11053735e+01 7.50673839e+01 21 -5.68352503e+01 -3.94196237e+01 3.04492609e+01 22 8.65231347e+01 1.12697764e+02 1.10465944e+02 23 1.94734446e+01 -8.01526998e+00 2.59699051e+01 24 2.20651491e+01 2.10264902e+01 2.80140250e+01 25 -4.69770015e+01 -2.98843789e+01 -1.60678322e+01 26 -2.48907201e+01 7.97297843e+01 -4.41094157e+01 27 7.91926051e+01 -1.54428913e+02 5.75303614e+01 28 -1.35025485e+02 1.23236535e+02 2.85746696e+01 29 -3.63319365e+01 -4.64286235e+01 2.50798486e+01 30 4.06767551e+01 6.90718820e+01 3.73017675e+01 31 6.90656254e+01 -3.10437931e+01 4.41207676e+01 32 3.87696090e+01 6.22660174e+01 6.44955391e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Pt (Configuration in file "config-T-Pt.xyz") ----------------------------------------------------------------------------------------------------- Energy = 422.4216752934138 Forces: 1 -1.59929826e+01 -4.08151842e+01 -4.11259980e+01 2 -3.37511640e+01 3.92927095e+01 -2.55126679e+01 3 2.38212921e+01 -2.06000730e+01 -8.92127663e+00 4 -2.07963136e+01 3.17448446e+01 2.66803763e+01 5 2.65623926e+01 -6.53858581e+01 -9.48386658e+00 6 2.58731406e+01 1.42903318e+01 -2.58536604e+01 7 1.87256341e+01 -1.38014737e+02 -1.36502569e+02 8 -6.59584038e+01 -4.99324742e+01 -2.39809787e+00 9 -5.08372047e+01 -3.16804623e+01 -7.86369963e+01 10 -2.19060857e+01 8.50419690e+01 -8.88261843e+01 11 -2.34008046e+01 -6.59089584e+01 6.23360276e+01 12 -3.85830059e+01 5.12098117e+01 2.33481715e+01 13 -3.40663299e+01 -5.23186045e+01 -1.83156018e+02 14 3.20742030e+01 4.18302545e+01 -2.89936080e+01 15 1.53581074e+02 -4.33546916e+01 3.56928487e+01 16 2.00479889e+01 1.18208686e+02 6.50600029e+01 17 -7.85170682e+01 -5.43476922e+01 -2.86078671e+01 18 6.43977882e+01 8.32429412e+01 -7.92904932e+01 19 2.80432400e+01 -9.24160578e+01 5.72996518e+01 20 -6.50233205e+01 3.11053735e+01 7.50673839e+01 21 -5.68352503e+01 -3.94196237e+01 3.04492609e+01 22 8.65231347e+01 1.12697764e+02 1.10465944e+02 23 1.94734446e+01 -8.01526998e+00 2.59699051e+01 24 2.20651491e+01 2.10264902e+01 2.80140250e+01 25 -4.69770015e+01 -2.98843789e+01 -1.60678322e+01 26 -2.48907201e+01 7.97297843e+01 -4.41094157e+01 27 7.91926051e+01 -1.54428913e+02 5.75303614e+01 28 -1.35025485e+02 1.23236535e+02 2.85746696e+01 29 -3.63319365e+01 -4.64286235e+01 2.50798486e+01 30 4.06767551e+01 6.90718820e+01 3.73017675e+01 31 6.90656254e+01 -3.10437931e+01 4.41207676e+01 32 3.87696090e+01 6.22660174e+01 6.44955391e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==95951== Memcheck, a memory error detector ==95951== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==95951== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==95951== Command: python runner2.py EMT_Asap_Standard_JacobsenStoltzeNorskov_1996_Pt__MO_637493005914_001 ==95951== ==95951== Conditional jump or move depends on uninitialised value(s) ==95951== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==95951== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==95951== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95951== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95951== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95951== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95951== by 0x551B80: ??? (in /usr/bin/python3.6) ==95951== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95951== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95951== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95951== by 0x509D47: ??? (in /usr/bin/python3.6) ==95951== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95951== ==95951== Conditional jump or move depends on uninitialised value(s) ==95951== at 0x4E63408: internal_utf8_loop (loop.c:298) ==95951== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==95951== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==95951== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95951== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95951== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95951== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95951== by 0x551B80: ??? (in /usr/bin/python3.6) ==95951== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95951== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95951== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95951== by 0x509D47: ??? (in /usr/bin/python3.6) ==95951== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95951== ==95951== Conditional jump or move depends on uninitialised value(s) ==95951== at 0x4E63411: internal_utf8_loop (loop.c:303) ==95951== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==95951== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==95951== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95951== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95951== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95951== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95951== by 0x551B80: ??? (in /usr/bin/python3.6) ==95951== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95951== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95951== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95951== by 0x509D47: ??? (in /usr/bin/python3.6) ==95951== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95951== ==95951== Conditional jump or move depends on uninitialised value(s) ==95951== at 0x4E63458: internal_utf8_loop (loop.c:298) ==95951== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==95951== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==95951== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95951== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95951== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==95951== by 0x5BA640: ??? (in /usr/bin/python3.6) ==95951== by 0x551B80: ??? (in /usr/bin/python3.6) ==95951== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==95951== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==95951== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95951== by 0x509D47: ??? (in /usr/bin/python3.6) ==95951== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==95951== ==95951== Conditional jump or move depends on uninitialised value(s) ==95951== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==95951== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==95951== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==95951== by 0x547A3F: ??? (in /usr/bin/python3.6) ==95951== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==95951== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==95951== by 0x4F8388: ??? (in /usr/bin/python3.6) ==95951== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==95951== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==95951== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==95951== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==95951== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==95951== ==95951== ==95951== HEAP SUMMARY: ==95951== in use at exit: 2,764,995 bytes in 1,647 blocks ==95951== total heap usage: 35,999 allocs, 34,352 frees, 62,555,935 bytes allocated ==95951== ==95951== LEAK SUMMARY: ==95951== definitely lost: 0 bytes in 0 blocks ==95951== indirectly lost: 0 bytes in 0 blocks ==95951== possibly lost: 146,155 bytes in 87 blocks ==95951== still reachable: 2,618,840 bytes in 1,560 blocks ==95951== suppressed: 0 bytes in 0 blocks ==95951== Rerun with --leak-check=full to see details of leaked memory ==95951== ==95951== For counts of detected and suppressed errors, rerun with: -v ==95951== Use --track-origins=yes to see where uninitialised values come from ==95951== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11185 from 673) ================================================================================ 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.