!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_Mendelev_2015_Na__MO_094065024556_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 = 145.91353961266663 Forces: 1 -4.48067646e+00 -6.71474871e+00 -7.76210773e+00 2 -5.63957019e+00 1.28569349e+01 -7.06325468e+00 3 2.63538992e+00 -6.35730420e+00 2.59297120e-01 4 -6.07443717e+00 3.17965123e+00 3.52403837e+00 5 8.67139758e+00 -1.48833367e+01 -2.43686287e+00 6 4.45439733e+00 1.23176447e+00 -6.67460756e+00 7 4.27504488e+00 -1.91445820e+01 -1.69584007e+01 8 -1.24104338e+01 -4.40771794e+00 1.19072123e+00 9 -6.79712657e+00 -5.37428300e+00 -1.40119838e+01 10 -2.04557888e+00 1.13693507e+01 -1.25065891e+01 11 1.47882778e+01 -1.10992664e+01 -3.24951506e+00 12 -1.02304956e+01 1.47714069e+01 6.49085654e-01 13 -8.45442016e+00 -9.60522132e+00 -2.42746071e+01 14 6.97787690e+00 8.15730489e+00 -6.30965320e+00 15 2.24011961e+01 -5.77484512e+00 6.25494334e+00 16 5.40610594e-02 1.62988451e+01 9.10736536e+00 17 -1.14413194e+01 -6.11962079e+00 -3.42487706e+00 18 4.42648631e+00 9.14427962e+00 -4.28806829e+00 19 5.78088267e+00 -9.69860174e+00 8.16710191e+00 20 -6.45071349e+00 6.37128372e+00 6.75338698e+00 21 -9.00008195e+00 -6.78777415e+00 5.00627680e+00 22 1.33511955e+01 1.62759988e+01 1.23994920e+01 23 3.36580219e+00 -1.72312056e+00 7.36080647e+00 24 4.25060716e+00 -3.24729113e+00 4.77592543e+00 25 -1.35179775e+01 -4.99625803e+00 1.60889878e+01 26 -3.23806096e+00 1.26253346e+01 -6.92103488e+00 27 4.93709579e+00 -1.86426303e+01 6.46096321e+00 28 -1.93155755e+01 1.54696617e+01 3.75906592e+00 29 -6.54750700e+00 -9.29270005e+00 1.98811343e+00 30 7.56966750e+00 1.07540086e+01 2.91017689e+00 31 1.14487316e+01 -5.85847504e+00 8.29953456e+00 32 6.25586437e+00 1.12219520e+01 1.09262795e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Na (Configuration in file "config-T-Na.xyz") ----------------------------------------------------------------------------------------------------- Energy = 145.91353961266663 Forces: 1 -4.48067646e+00 -6.71474871e+00 -7.76210773e+00 2 -5.63957019e+00 1.28569349e+01 -7.06325468e+00 3 2.63538992e+00 -6.35730420e+00 2.59297120e-01 4 -6.07443717e+00 3.17965123e+00 3.52403837e+00 5 8.67139758e+00 -1.48833367e+01 -2.43686287e+00 6 4.45439733e+00 1.23176447e+00 -6.67460756e+00 7 4.27504488e+00 -1.91445820e+01 -1.69584007e+01 8 -1.24104338e+01 -4.40771794e+00 1.19072123e+00 9 -6.79712657e+00 -5.37428300e+00 -1.40119838e+01 10 -2.04557888e+00 1.13693507e+01 -1.25065891e+01 11 1.47882778e+01 -1.10992664e+01 -3.24951506e+00 12 -1.02304956e+01 1.47714069e+01 6.49085654e-01 13 -8.45442016e+00 -9.60522132e+00 -2.42746071e+01 14 6.97787690e+00 8.15730489e+00 -6.30965320e+00 15 2.24011961e+01 -5.77484512e+00 6.25494334e+00 16 5.40610594e-02 1.62988451e+01 9.10736536e+00 17 -1.14413194e+01 -6.11962079e+00 -3.42487706e+00 18 4.42648631e+00 9.14427962e+00 -4.28806829e+00 19 5.78088267e+00 -9.69860174e+00 8.16710191e+00 20 -6.45071349e+00 6.37128372e+00 6.75338698e+00 21 -9.00008195e+00 -6.78777415e+00 5.00627680e+00 22 1.33511955e+01 1.62759988e+01 1.23994920e+01 23 3.36580219e+00 -1.72312056e+00 7.36080647e+00 24 4.25060716e+00 -3.24729113e+00 4.77592543e+00 25 -1.35179775e+01 -4.99625803e+00 1.60889878e+01 26 -3.23806096e+00 1.26253346e+01 -6.92103488e+00 27 4.93709579e+00 -1.86426303e+01 6.46096321e+00 28 -1.93155755e+01 1.54696617e+01 3.75906592e+00 29 -6.54750700e+00 -9.29270005e+00 1.98811343e+00 30 7.56966750e+00 1.07540086e+01 2.91017689e+00 31 1.14487316e+01 -5.85847504e+00 8.29953456e+00 32 6.25586437e+00 1.12219520e+01 1.09262795e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==89361== Memcheck, a memory error detector ==89361== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==89361== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==89361== Command: python runner2.py EAM_Dynamo_Mendelev_2015_Na__MO_094065024556_000 ==89361== ==89361== Conditional jump or move depends on uninitialised value(s) ==89361== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==89361== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==89361== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==89361== by 0x547A3F: ??? (in /usr/bin/python3.6) ==89361== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==89361== by 0x5BA640: ??? (in /usr/bin/python3.6) ==89361== by 0x551B80: ??? (in /usr/bin/python3.6) ==89361== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==89361== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==89361== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==89361== by 0x509D47: ??? (in /usr/bin/python3.6) ==89361== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==89361== ==89361== Conditional jump or move depends on uninitialised value(s) ==89361== at 0x4E63408: internal_utf8_loop (loop.c:298) ==89361== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==89361== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==89361== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==89361== by 0x547A3F: ??? (in /usr/bin/python3.6) ==89361== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==89361== by 0x5BA640: ??? (in /usr/bin/python3.6) ==89361== by 0x551B80: ??? (in /usr/bin/python3.6) ==89361== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==89361== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==89361== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==89361== by 0x509D47: ??? (in /usr/bin/python3.6) ==89361== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==89361== ==89361== Conditional jump or move depends on uninitialised value(s) ==89361== at 0x4E63411: internal_utf8_loop (loop.c:303) ==89361== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==89361== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==89361== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==89361== by 0x547A3F: ??? (in /usr/bin/python3.6) ==89361== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==89361== by 0x5BA640: ??? (in /usr/bin/python3.6) ==89361== by 0x551B80: ??? (in /usr/bin/python3.6) ==89361== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==89361== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==89361== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==89361== by 0x509D47: ??? (in /usr/bin/python3.6) ==89361== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==89361== ==89361== Conditional jump or move depends on uninitialised value(s) ==89361== at 0x4E63458: internal_utf8_loop (loop.c:298) ==89361== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==89361== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==89361== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==89361== by 0x547A3F: ??? (in /usr/bin/python3.6) ==89361== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==89361== by 0x5BA640: ??? (in /usr/bin/python3.6) ==89361== by 0x551B80: ??? (in /usr/bin/python3.6) ==89361== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==89361== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==89361== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==89361== by 0x509D47: ??? (in /usr/bin/python3.6) ==89361== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==89361== ==89361== Conditional jump or move depends on uninitialised value(s) ==89361== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==89361== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==89361== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==89361== by 0x547A3F: ??? (in /usr/bin/python3.6) ==89361== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==89361== by 0x4CAD31: ??? (in /usr/bin/python3.6) ==89361== by 0x551B80: ??? (in /usr/bin/python3.6) ==89361== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==89361== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==89361== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==89361== by 0x509D47: ??? (in /usr/bin/python3.6) ==89361== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==89361== ==89361== ==89361== HEAP SUMMARY: ==89361== in use at exit: 2,764,995 bytes in 1,647 blocks ==89361== total heap usage: 36,172 allocs, 34,525 frees, 73,426,247 bytes allocated ==89361== ==89361== LEAK SUMMARY: ==89361== definitely lost: 0 bytes in 0 blocks ==89361== indirectly lost: 0 bytes in 0 blocks ==89361== possibly lost: 146,155 bytes in 87 blocks ==89361== still reachable: 2,618,840 bytes in 1,560 blocks ==89361== suppressed: 0 bytes in 0 blocks ==89361== Rerun with --leak-check=full to see details of leaked memory ==89361== ==89361== For counts of detected and suppressed errors, rerun with: -v ==89361== Use --track-origins=yes to see where uninitialised values come from ==89361== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 11547 from 637) ================================================================================ 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.