!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_MarinicaVentelonGilbert_2013EAM4__MO_046576227003_000 Supported species : W random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = W (Configuration in file "config-F-W.xyz") ----------------------------------------------------------------------------------------------------- Energy = 200.20346200092212 Forces: 1 -2.33742820e+01 -2.37475996e+01 -3.56401792e+01 2 -2.10027411e+01 3.73097331e+01 -2.40774870e+01 3 8.78665516e+00 -2.46865007e+01 2.34469472e+01 4 -1.71766481e+01 2.11454135e+01 1.53165919e+01 5 1.86809669e+01 -4.77200996e+01 -1.50574719e+01 6 2.53253536e+01 1.31056760e+01 -2.75348640e+01 7 1.15274221e+01 -9.02685433e+01 -7.64746231e+01 8 -3.74709408e+01 -3.43839892e+01 1.32917387e+01 9 -8.62900309e+00 -4.50248340e+01 -4.80248748e+01 10 -8.75874009e+00 3.68280743e+01 -4.91432142e+01 11 -5.54965939e-01 -3.20511610e+01 -4.20323540e+01 12 -3.43382814e+01 4.62683942e+01 3.77486395e+01 13 -4.19407731e+01 -2.90598519e+01 -1.27858143e+02 14 2.29452834e+01 2.95781221e+01 -1.96991042e+01 15 1.12604476e+02 -2.00411125e+01 3.90711406e+01 16 1.47269497e+01 8.71435286e+01 3.72278311e+01 17 -3.27047756e+01 -2.19977347e+01 -2.09551410e+01 18 1.51416147e+01 1.29067599e+01 -7.46942542e-01 19 1.49131463e+01 -3.37409240e+01 2.36536967e+01 20 -1.68779249e+01 2.35271621e+01 2.15522664e+01 21 -3.79446592e+01 -3.11106504e+01 1.30456567e+01 22 5.52546650e+01 7.87252301e+01 6.70772268e+01 23 1.89285555e+01 -9.12548272e+00 1.96783533e+01 24 -7.08881411e-01 1.86668330e+01 1.76867381e+01 25 -6.58469679e+01 -1.07341925e+01 1.97003226e+01 26 -1.57621191e+01 6.43523281e+01 -2.27783843e+01 27 5.04223540e+01 -1.07101399e+02 3.63195878e+01 28 -9.00513319e+01 7.91502827e+01 1.62676789e+01 29 -8.52072162e+00 -4.17306424e+01 2.40443094e+01 30 2.51191830e+01 3.99895896e+01 6.36284349e+00 31 4.29163699e+01 -2.73681091e+01 3.46840841e+01 32 2.43707618e+01 4.11957001e+01 4.38471298e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = W (Configuration in file "config-T-W.xyz") ----------------------------------------------------------------------------------------------------- Energy = 200.20346200092212 Forces: 1 -2.33742820e+01 -2.37475996e+01 -3.56401792e+01 2 -2.10027411e+01 3.73097331e+01 -2.40774870e+01 3 8.78665516e+00 -2.46865007e+01 2.34469472e+01 4 -1.71766481e+01 2.11454135e+01 1.53165919e+01 5 1.86809669e+01 -4.77200996e+01 -1.50574719e+01 6 2.53253536e+01 1.31056760e+01 -2.75348640e+01 7 1.15274221e+01 -9.02685433e+01 -7.64746231e+01 8 -3.74709408e+01 -3.43839892e+01 1.32917387e+01 9 -8.62900309e+00 -4.50248340e+01 -4.80248748e+01 10 -8.75874009e+00 3.68280743e+01 -4.91432142e+01 11 -5.54965939e-01 -3.20511610e+01 -4.20323540e+01 12 -3.43382814e+01 4.62683942e+01 3.77486395e+01 13 -4.19407731e+01 -2.90598519e+01 -1.27858143e+02 14 2.29452834e+01 2.95781221e+01 -1.96991042e+01 15 1.12604476e+02 -2.00411125e+01 3.90711406e+01 16 1.47269497e+01 8.71435286e+01 3.72278311e+01 17 -3.27047756e+01 -2.19977347e+01 -2.09551410e+01 18 1.51416147e+01 1.29067599e+01 -7.46942542e-01 19 1.49131463e+01 -3.37409240e+01 2.36536967e+01 20 -1.68779249e+01 2.35271621e+01 2.15522664e+01 21 -3.79446592e+01 -3.11106504e+01 1.30456567e+01 22 5.52546650e+01 7.87252301e+01 6.70772268e+01 23 1.89285555e+01 -9.12548272e+00 1.96783533e+01 24 -7.08881411e-01 1.86668330e+01 1.76867381e+01 25 -6.58469679e+01 -1.07341925e+01 1.97003226e+01 26 -1.57621191e+01 6.43523281e+01 -2.27783843e+01 27 5.04223540e+01 -1.07101399e+02 3.63195878e+01 28 -9.00513319e+01 7.91502827e+01 1.62676789e+01 29 -8.52072162e+00 -4.17306424e+01 2.40443094e+01 30 2.51191830e+01 3.99895896e+01 6.36284349e+00 31 4.29163699e+01 -2.73681091e+01 3.46840841e+01 32 2.43707618e+01 4.11957001e+01 4.38471298e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==88012== Memcheck, a memory error detector ==88012== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==88012== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==88012== Command: python runner2.py EAM_Dynamo_MarinicaVentelonGilbert_2013EAM4__MO_046576227003_000 ==88012== ==88012== Conditional jump or move depends on uninitialised value(s) ==88012== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==88012== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==88012== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==88012== by 0x547A3F: ??? (in /usr/bin/python3.6) ==88012== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==88012== by 0x5BA640: ??? (in /usr/bin/python3.6) ==88012== by 0x551B80: ??? (in /usr/bin/python3.6) ==88012== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==88012== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==88012== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==88012== by 0x509D47: ??? (in /usr/bin/python3.6) ==88012== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==88012== ==88012== Conditional jump or move depends on uninitialised value(s) ==88012== at 0x4E63408: internal_utf8_loop (loop.c:298) ==88012== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==88012== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==88012== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==88012== by 0x547A3F: ??? (in /usr/bin/python3.6) ==88012== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==88012== by 0x5BA640: ??? (in /usr/bin/python3.6) ==88012== by 0x551B80: ??? (in /usr/bin/python3.6) ==88012== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==88012== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==88012== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==88012== by 0x509D47: ??? (in /usr/bin/python3.6) ==88012== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==88012== ==88012== Conditional jump or move depends on uninitialised value(s) ==88012== at 0x4E63411: internal_utf8_loop (loop.c:303) ==88012== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==88012== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==88012== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==88012== by 0x547A3F: ??? (in /usr/bin/python3.6) ==88012== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==88012== by 0x5BA640: ??? (in /usr/bin/python3.6) ==88012== by 0x551B80: ??? (in /usr/bin/python3.6) ==88012== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==88012== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==88012== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==88012== by 0x509D47: ??? (in /usr/bin/python3.6) ==88012== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==88012== ==88012== Conditional jump or move depends on uninitialised value(s) ==88012== at 0x4E63458: internal_utf8_loop (loop.c:298) ==88012== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==88012== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==88012== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==88012== by 0x547A3F: ??? (in /usr/bin/python3.6) ==88012== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==88012== by 0x5BA640: ??? (in /usr/bin/python3.6) ==88012== by 0x551B80: ??? (in /usr/bin/python3.6) ==88012== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==88012== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==88012== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==88012== by 0x509D47: ??? (in /usr/bin/python3.6) ==88012== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==88012== ==88012== Conditional jump or move depends on uninitialised value(s) ==88012== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==88012== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==88012== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==88012== by 0x547A3F: ??? (in /usr/bin/python3.6) ==88012== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==88012== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==88012== by 0x4F8388: ??? (in /usr/bin/python3.6) ==88012== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==88012== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==88012== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==88012== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==88012== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==88012== ==88012== ==88012== HEAP SUMMARY: ==88012== in use at exit: 2,764,995 bytes in 1,647 blocks ==88012== total heap usage: 36,172 allocs, 34,525 frees, 177,111,291 bytes allocated ==88012== ==88012== LEAK SUMMARY: ==88012== definitely lost: 0 bytes in 0 blocks ==88012== indirectly lost: 0 bytes in 0 blocks ==88012== possibly lost: 146,155 bytes in 87 blocks ==88012== still reachable: 2,618,840 bytes in 1,560 blocks ==88012== suppressed: 0 bytes in 0 blocks ==88012== Rerun with --leak-check=full to see details of leaked memory ==88012== ==88012== For counts of detected and suppressed errors, rerun with: -v ==88012== Use --track-origins=yes to see where uninitialised values come from ==88012== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12343 from 657) ================================================================================ 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.