!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_HauchHollandMarder_1999Brittle_Si__MO_119167353542_005 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 = 1241.7783059975372 Forces: 1 -3.84953800e+01 -3.49848608e+01 -4.20454514e+01 2 -1.94267709e+01 -2.78125339e+01 -1.11396792e+02 3 -2.90588233e+01 -1.08619691e+02 -2.54477350e+01 4 -9.76782749e+01 -1.48900072e+01 -9.69731545e+00 5 3.27751749e+00 -7.56402127e+01 -6.36582671e+01 6 6.73161473e+01 -2.23928649e+01 -8.29152178e+01 7 7.35211565e+01 -1.07533327e+02 -3.35002353e+01 8 8.58307749e+00 -5.37070272e+01 -1.60640070e+01 9 -6.03553392e+01 9.04281571e+00 -8.58136661e+01 10 -3.36494533e+01 8.55373660e+01 -9.32291504e+01 11 -7.57072920e+01 -4.15161902e+00 -3.47327451e+01 12 -8.20124682e+01 6.71055951e+01 -1.86176093e+01 13 2.90684162e+01 2.26346153e+01 -1.57270551e+02 14 5.26469721e+01 3.87424000e+01 -4.72738986e+01 15 1.63849642e+02 3.71323227e+01 -2.79787085e+01 16 2.27938451e+01 1.59475206e+02 -3.18817495e+01 17 -6.37886367e+01 -4.19017340e+01 1.74000056e+01 18 -3.02035874e+01 -3.33088831e+01 2.35883525e+01 19 -5.72248058e+00 -6.27197297e+01 6.29055891e+01 20 -5.94093217e+01 -1.53234490e+01 4.60536511e+01 21 2.12907964e+01 -1.01819480e+02 4.09197659e+01 22 1.19209883e+02 -2.08916354e+01 4.35957432e+01 23 3.64756719e+01 -2.06665024e+01 4.52508679e+01 24 8.81997585e+00 -2.30197483e+01 1.10322102e+02 25 -1.27564127e+02 1.34266083e+01 3.23641301e+01 26 -3.94951865e+01 1.28615367e+02 3.69062331e+01 27 -4.89695586e+01 -1.36432017e+00 1.07132141e+02 28 -5.65148407e+01 3.28013857e+01 3.26383770e+01 29 4.36425947e+01 2.69468979e+01 7.04753610e+01 30 9.81062342e+01 7.64951649e+01 3.02787772e+01 31 9.00196572e+01 6.55704558e+00 9.01328167e+01 32 2.94299536e+01 6.62348359e+01 9.15591848e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Si (Configuration in file "config-T-Si.xyz") ----------------------------------------------------------------------------------------------------- Energy = 1241.7783059975372 Forces: 1 -3.84953800e+01 -3.49848608e+01 -4.20454514e+01 2 -1.94267709e+01 -2.78125339e+01 -1.11396792e+02 3 -2.90588233e+01 -1.08619691e+02 -2.54477350e+01 4 -9.76782749e+01 -1.48900072e+01 -9.69731545e+00 5 3.27751749e+00 -7.56402127e+01 -6.36582671e+01 6 6.73161473e+01 -2.23928649e+01 -8.29152178e+01 7 7.35211565e+01 -1.07533327e+02 -3.35002353e+01 8 8.58307749e+00 -5.37070272e+01 -1.60640070e+01 9 -6.03553392e+01 9.04281571e+00 -8.58136661e+01 10 -3.36494533e+01 8.55373660e+01 -9.32291504e+01 11 -7.57072920e+01 -4.15161902e+00 -3.47327451e+01 12 -8.20124682e+01 6.71055951e+01 -1.86176093e+01 13 2.90684162e+01 2.26346153e+01 -1.57270551e+02 14 5.26469721e+01 3.87424000e+01 -4.72738986e+01 15 1.63849642e+02 3.71323227e+01 -2.79787085e+01 16 2.27938451e+01 1.59475206e+02 -3.18817495e+01 17 -6.37886367e+01 -4.19017340e+01 1.74000056e+01 18 -3.02035874e+01 -3.33088831e+01 2.35883525e+01 19 -5.72248058e+00 -6.27197297e+01 6.29055891e+01 20 -5.94093217e+01 -1.53234490e+01 4.60536511e+01 21 2.12907964e+01 -1.01819480e+02 4.09197659e+01 22 1.19209883e+02 -2.08916354e+01 4.35957432e+01 23 3.64756719e+01 -2.06665024e+01 4.52508679e+01 24 8.81997585e+00 -2.30197483e+01 1.10322102e+02 25 -1.27564127e+02 1.34266083e+01 3.23641301e+01 26 -3.94951865e+01 1.28615367e+02 3.69062331e+01 27 -4.89695586e+01 -1.36432017e+00 1.07132141e+02 28 -5.65148407e+01 3.28013857e+01 3.26383770e+01 29 4.36425947e+01 2.69468979e+01 7.04753610e+01 30 9.81062342e+01 7.64951649e+01 3.02787772e+01 31 9.00196572e+01 6.55704558e+00 9.01328167e+01 32 2.94299536e+01 6.62348359e+01 9.15591848e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==13096== Memcheck, a memory error detector ==13096== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==13096== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==13096== Command: python runner2.py SW_HauchHollandMarder_1999Brittle_Si__MO_119167353542_005 ==13096== ==13096== Conditional jump or move depends on uninitialised value(s) ==13096== at 0x4FCDC2C: __wcsnlen_avx2 (strlen-avx2.S:106) ==13096== by 0x4EFBCA1: wcsrtombs (wcsrtombs.c:104) ==13096== by 0x4E81C40: wcstombs (wcstombs.c:34) ==13096== by 0x5471CF: ??? (in /usr/bin/python3.6) ==13096== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==13096== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==13096== by 0x5515C0: ??? (in /usr/bin/python3.6) ==13096== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==13096== by 0x50A432: ??? (in /usr/bin/python3.6) ==13096== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==13096== by 0x5095C7: ??? (in /usr/bin/python3.6) ==13096== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==13096== ==13096== Conditional jump or move depends on uninitialised value(s) ==13096== at 0x4E654E8: internal_utf8_loop (loop.c:298) ==13096== by 0x4E654E8: __gconv_transform_internal_utf8 (skeleton.c:609) ==13096== by 0x4EFBCD4: wcsrtombs (wcsrtombs.c:110) ==13096== by 0x4E81C40: wcstombs (wcstombs.c:34) ==13096== by 0x5471CF: ??? (in /usr/bin/python3.6) ==13096== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==13096== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==13096== by 0x5515C0: ??? (in /usr/bin/python3.6) ==13096== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==13096== by 0x50A432: ??? (in /usr/bin/python3.6) ==13096== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==13096== by 0x5095C7: ??? (in /usr/bin/python3.6) ==13096== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==13096== ==13096== Conditional jump or move depends on uninitialised value(s) ==13096== at 0x4E654F1: internal_utf8_loop (loop.c:303) ==13096== by 0x4E654F1: __gconv_transform_internal_utf8 (skeleton.c:609) ==13096== by 0x4EFBCD4: wcsrtombs (wcsrtombs.c:110) ==13096== by 0x4E81C40: wcstombs (wcstombs.c:34) ==13096== by 0x5471CF: ??? (in /usr/bin/python3.6) ==13096== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==13096== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==13096== by 0x5515C0: ??? (in /usr/bin/python3.6) ==13096== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==13096== by 0x50A432: ??? (in /usr/bin/python3.6) ==13096== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==13096== by 0x5095C7: ??? (in /usr/bin/python3.6) ==13096== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==13096== ==13096== Conditional jump or move depends on uninitialised value(s) ==13096== at 0x4E65538: internal_utf8_loop (loop.c:298) ==13096== by 0x4E65538: __gconv_transform_internal_utf8 (skeleton.c:609) ==13096== by 0x4EFBCD4: wcsrtombs (wcsrtombs.c:110) ==13096== by 0x4E81C40: wcstombs (wcstombs.c:34) ==13096== by 0x5471CF: ??? (in /usr/bin/python3.6) ==13096== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==13096== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==13096== by 0x5515C0: ??? (in /usr/bin/python3.6) ==13096== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==13096== by 0x50A432: ??? (in /usr/bin/python3.6) ==13096== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==13096== by 0x5095C7: ??? (in /usr/bin/python3.6) ==13096== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==13096== ==13096== Conditional jump or move depends on uninitialised value(s) ==13096== at 0x4FCDDB7: __wcsnlen_avx2 (strlen-avx2.S:264) ==13096== by 0x4EFBCA1: wcsrtombs (wcsrtombs.c:104) ==13096== by 0x4E81C40: wcstombs (wcstombs.c:34) ==13096== by 0x5471CF: ??? (in /usr/bin/python3.6) ==13096== by 0x5474B0: PyUnicode_FSConverter (in /usr/bin/python3.6) ==13096== by 0x4C4D46: ??? (in /usr/bin/python3.6) ==13096== by 0x4F7E48: ??? (in /usr/bin/python3.6) ==13096== by 0x4FB843: ??? (in /usr/bin/python3.6) ==13096== by 0x4FC3D4: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==13096== by 0x4C6448: ??? (in /usr/bin/python3.6) ==13096== by 0x50A259: ??? (in /usr/bin/python3.6) ==13096== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==13096== ==13096== ==13096== HEAP SUMMARY: ==13096== in use at exit: 2,776,403 bytes in 1,535 blocks ==13096== total heap usage: 49,578 allocs, 48,043 frees, 62,730,557 bytes allocated ==13096== ==13096== LEAK SUMMARY: ==13096== definitely lost: 0 bytes in 0 blocks ==13096== indirectly lost: 0 bytes in 0 blocks ==13096== possibly lost: 145,088 bytes in 84 blocks ==13096== still reachable: 2,631,315 bytes in 1,451 blocks ==13096== suppressed: 0 bytes in 0 blocks ==13096== Rerun with --leak-check=full to see details of leaked memory ==13096== ==13096== For counts of detected and suppressed errors, rerun with: -v ==13096== Use --track-origins=yes to see where uninitialised values come from ==13096== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12675 from 677) ================================================================================ 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.