!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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 : SW_LeeHwang_2012GGA_Si__MO_040570764911_001 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 = 563.0426710212548 Forces: 1 -2.07575140e+01 -1.52154835e+01 -2.03117620e+01 2 -1.24681720e+01 -4.13856626e+00 -5.49499641e+01 3 -1.10142292e+01 -5.10603214e+01 -8.06403830e+00 4 -4.70143779e+01 -5.50742882e+00 -5.68329468e+00 5 7.99853820e+00 -4.35243583e+01 -2.93045040e+01 6 3.08700902e+01 -9.67069739e+00 -3.68565091e+01 7 2.72265564e+01 -5.75065197e+01 -3.96141148e+01 8 1.14213548e+00 -2.69861946e+01 -8.20816059e+00 9 -2.76395237e+01 1.85168331e+00 -4.35285535e+01 10 -9.45359871e+00 4.20527810e+01 -4.44719069e+01 11 -3.52460650e+01 -3.27365755e+00 -1.67860754e+01 12 -3.90028818e+01 3.42815412e+01 -6.00334406e+00 13 1.23865015e+01 8.42470678e+00 -7.82273454e+01 14 2.28285536e+01 1.84153496e+01 -2.34107569e+01 15 8.17573115e+01 1.31579860e+01 -1.23632303e+01 16 1.14124903e+01 8.96471688e+01 -3.16881289e+01 17 -3.05980087e+01 -2.50412399e+01 6.00592628e+00 18 -6.95460148e+00 -1.35635940e+01 1.53570509e+01 19 1.32829814e+00 -2.58815113e+01 2.94429099e+01 20 -2.80757757e+01 -9.20795739e-01 2.56780925e+01 21 -1.51061749e+00 -4.71234542e+01 2.17526351e+01 22 6.35068081e+01 7.60081765e+00 2.89172366e+01 23 1.33811361e+01 -1.27418943e+01 2.71575925e+01 24 7.80778883e-01 -1.22632262e+01 4.79193755e+01 25 -6.18744655e+01 4.26686940e-01 1.44133984e+01 26 -2.99755490e+01 6.58569453e+01 1.84157603e+01 27 -1.61288625e+01 -1.45646949e+01 5.60164770e+01 28 -3.83805989e+01 2.52765718e+01 1.58317569e+01 29 2.80707930e+01 -1.59325744e+00 4.12216754e+01 30 5.05491117e+01 3.16233469e+01 1.33406723e+01 31 4.33308619e+01 3.61014296e-01 4.61668227e+01 32 1.95248768e+01 3.16002962e+01 5.18343065e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Si (Configuration in file "config-T-Si.xyz") ----------------------------------------------------------------------------------------------------- Energy = 563.0426710212548 Forces: 1 -2.07575140e+01 -1.52154835e+01 -2.03117620e+01 2 -1.24681720e+01 -4.13856626e+00 -5.49499641e+01 3 -1.10142292e+01 -5.10603214e+01 -8.06403830e+00 4 -4.70143779e+01 -5.50742882e+00 -5.68329468e+00 5 7.99853820e+00 -4.35243583e+01 -2.93045040e+01 6 3.08700902e+01 -9.67069739e+00 -3.68565091e+01 7 2.72265564e+01 -5.75065197e+01 -3.96141148e+01 8 1.14213548e+00 -2.69861946e+01 -8.20816059e+00 9 -2.76395237e+01 1.85168331e+00 -4.35285535e+01 10 -9.45359871e+00 4.20527810e+01 -4.44719069e+01 11 -3.52460650e+01 -3.27365755e+00 -1.67860754e+01 12 -3.90028818e+01 3.42815412e+01 -6.00334406e+00 13 1.23865015e+01 8.42470678e+00 -7.82273454e+01 14 2.28285536e+01 1.84153496e+01 -2.34107569e+01 15 8.17573115e+01 1.31579860e+01 -1.23632303e+01 16 1.14124903e+01 8.96471688e+01 -3.16881289e+01 17 -3.05980087e+01 -2.50412399e+01 6.00592628e+00 18 -6.95460148e+00 -1.35635940e+01 1.53570509e+01 19 1.32829814e+00 -2.58815113e+01 2.94429099e+01 20 -2.80757757e+01 -9.20795739e-01 2.56780925e+01 21 -1.51061749e+00 -4.71234542e+01 2.17526351e+01 22 6.35068081e+01 7.60081765e+00 2.89172366e+01 23 1.33811361e+01 -1.27418943e+01 2.71575925e+01 24 7.80778883e-01 -1.22632262e+01 4.79193755e+01 25 -6.18744655e+01 4.26686940e-01 1.44133984e+01 26 -2.99755490e+01 6.58569453e+01 1.84157603e+01 27 -1.61288625e+01 -1.45646949e+01 5.60164770e+01 28 -3.83805989e+01 2.52765718e+01 1.58317569e+01 29 2.80707930e+01 -1.59325744e+00 4.12216754e+01 30 5.05491117e+01 3.16233469e+01 1.33406723e+01 31 4.33308619e+01 3.61014296e-01 4.61668227e+01 32 1.95248768e+01 3.16002962e+01 5.18343065e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==30726== Memcheck, a memory error detector ==30726== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==30726== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==30726== Command: python runner2.py SW_LeeHwang_2012GGA_Si__MO_040570764911_001 ==30726== ==30726== Conditional jump or move depends on uninitialised value(s) ==30726== at 0x4FCDC2C: __wcsnlen_avx2 (strlen-avx2.S:106) ==30726== by 0x4EFBCA1: wcsrtombs (wcsrtombs.c:104) ==30726== by 0x4E81C40: wcstombs (wcstombs.c:34) ==30726== by 0x5471CF: ??? (in /usr/bin/python3.6) ==30726== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==30726== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==30726== by 0x5515C0: ??? (in /usr/bin/python3.6) ==30726== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==30726== by 0x50A432: ??? (in /usr/bin/python3.6) ==30726== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==30726== by 0x5095C7: ??? (in /usr/bin/python3.6) ==30726== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==30726== ==30726== Conditional jump or move depends on uninitialised value(s) ==30726== at 0x4E654E8: internal_utf8_loop (loop.c:298) ==30726== by 0x4E654E8: __gconv_transform_internal_utf8 (skeleton.c:609) ==30726== by 0x4EFBCD4: wcsrtombs (wcsrtombs.c:110) ==30726== by 0x4E81C40: wcstombs (wcstombs.c:34) ==30726== by 0x5471CF: ??? (in /usr/bin/python3.6) ==30726== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==30726== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==30726== by 0x5515C0: ??? (in /usr/bin/python3.6) ==30726== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==30726== by 0x50A432: ??? (in /usr/bin/python3.6) ==30726== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==30726== by 0x5095C7: ??? (in /usr/bin/python3.6) ==30726== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==30726== ==30726== Conditional jump or move depends on uninitialised value(s) ==30726== at 0x4E654F1: internal_utf8_loop (loop.c:303) ==30726== by 0x4E654F1: __gconv_transform_internal_utf8 (skeleton.c:609) ==30726== by 0x4EFBCD4: wcsrtombs (wcsrtombs.c:110) ==30726== by 0x4E81C40: wcstombs (wcstombs.c:34) ==30726== by 0x5471CF: ??? (in /usr/bin/python3.6) ==30726== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==30726== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==30726== by 0x5515C0: ??? (in /usr/bin/python3.6) ==30726== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==30726== by 0x50A432: ??? (in /usr/bin/python3.6) ==30726== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==30726== by 0x5095C7: ??? (in /usr/bin/python3.6) ==30726== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==30726== ==30726== Conditional jump or move depends on uninitialised value(s) ==30726== at 0x4E65538: internal_utf8_loop (loop.c:298) ==30726== by 0x4E65538: __gconv_transform_internal_utf8 (skeleton.c:609) ==30726== by 0x4EFBCD4: wcsrtombs (wcsrtombs.c:110) ==30726== by 0x4E81C40: wcstombs (wcstombs.c:34) ==30726== by 0x5471CF: ??? (in /usr/bin/python3.6) ==30726== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==30726== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==30726== by 0x5515C0: ??? (in /usr/bin/python3.6) ==30726== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==30726== by 0x50A432: ??? (in /usr/bin/python3.6) ==30726== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==30726== by 0x5095C7: ??? (in /usr/bin/python3.6) ==30726== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==30726== ==30726== Conditional jump or move depends on uninitialised value(s) ==30726== at 0x4FCDDB7: __wcsnlen_avx2 (strlen-avx2.S:264) ==30726== by 0x4EFBCA1: wcsrtombs (wcsrtombs.c:104) ==30726== by 0x4E81C40: wcstombs (wcstombs.c:34) ==30726== by 0x5471CF: ??? (in /usr/bin/python3.6) ==30726== by 0x5474B0: PyUnicode_FSConverter (in /usr/bin/python3.6) ==30726== by 0x4C4D46: ??? (in /usr/bin/python3.6) ==30726== by 0x4F7E48: ??? (in /usr/bin/python3.6) ==30726== by 0x4FB843: ??? (in /usr/bin/python3.6) ==30726== by 0x4FC3D4: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==30726== by 0x4C6448: ??? (in /usr/bin/python3.6) ==30726== by 0x50A259: ??? (in /usr/bin/python3.6) ==30726== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==30726== ==30726== ==30726== HEAP SUMMARY: ==30726== in use at exit: 2,776,403 bytes in 1,535 blocks ==30726== total heap usage: 49,578 allocs, 48,043 frees, 62,722,794 bytes allocated ==30726== ==30726== LEAK SUMMARY: ==30726== definitely lost: 0 bytes in 0 blocks ==30726== indirectly lost: 0 bytes in 0 blocks ==30726== possibly lost: 145,088 bytes in 84 blocks ==30726== still reachable: 2,631,315 bytes in 1,451 blocks ==30726== suppressed: 0 bytes in 0 blocks ==30726== Rerun with --leak-check=full to see details of leaked memory ==30726== ==30726== For counts of detected and suppressed errors, rerun with: -v ==30726== Use --track-origins=yes to see where uninitialised values come from ==30726== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12575 from 661) ================================================================================ 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.