!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_MendelevKramerBecker_2008_Al__MO_106969701023_005 Supported species : Al random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Al (Configuration in file "config-F-Al.xyz") ----------------------------------------------------------------------------------------------------- Energy = 66960.71200419115 Forces: 1 -5.18529553e+03 -5.36572180e+03 -3.66556207e+03 2 -1.12756888e+04 -1.76213894e+04 -2.88005371e+04 3 -1.12534789e+04 -2.07145114e+04 -3.19848513e+03 4 -2.16870536e+04 -1.18148081e+04 -5.81655903e+03 5 -2.92946423e+03 -2.02017996e+04 -1.48068955e+04 6 1.71413792e+04 -6.86875471e+03 -2.11211090e+04 7 2.26327989e+04 -3.22111869e+04 -5.93921082e+03 8 3.00718244e+04 -8.12208302e+04 -3.85729165e+04 9 -2.03626732e+04 2.57473681e+03 -2.22367988e+04 10 -7.47041632e+03 2.55656109e+04 -2.42955926e+04 11 -7.51540688e+04 8.99947548e+03 -4.11725157e+04 12 -2.14604342e+04 1.66502152e+04 -3.39578271e+03 13 1.88815753e+04 1.99243132e+04 -5.38305414e+04 14 1.04981587e+04 1.07700410e+04 -1.06462064e+04 15 6.25982174e+04 2.55405311e+04 -2.73456332e+04 16 1.20500279e+04 6.57076074e+04 -2.30346459e+04 17 -5.95038859e+03 -5.77224277e+03 2.59811590e+03 18 -3.05621744e+04 -3.20093050e+04 2.56936332e+04 19 -4.04444690e+03 -7.32684572e+03 6.33392970e+03 20 -5.97454996e+03 -2.72236418e+03 5.66194676e+03 21 4.02556044e+03 -2.61635110e+04 1.35240735e+04 22 3.41910927e+04 -2.04987588e+04 1.50936984e+04 23 3.55829448e+03 -5.51837002e+03 5.35548666e+03 24 1.88444132e+03 -1.39123659e+04 2.55842206e+04 25 -3.46161898e+04 8.92058377e+03 1.87762437e+04 26 -2.44783684e+04 4.05225148e+04 2.12838416e+04 27 -1.60873992e+04 3.24169363e+03 2.42722896e+04 28 -7.51885962e+03 4.25531715e+03 7.74166440e+03 29 3.47729239e+04 3.16031558e+04 8.71010022e+04 30 2.79234386e+04 2.54368706e+04 4.98234513e+03 31 2.86722380e+04 1.29180018e+03 3.51701566e+04 32 -2.89102083e+03 1.89382984e+04 2.87063438e+04 MONOATOMIC STRUCTURE (pbc=True)-- Species = Al (Configuration in file "config-T-Al.xyz") ----------------------------------------------------------------------------------------------------- Energy = 66960.71200419115 Forces: 1 -5.18529553e+03 -5.36572180e+03 -3.66556207e+03 2 -1.12756888e+04 -1.76213894e+04 -2.88005371e+04 3 -1.12534789e+04 -2.07145114e+04 -3.19848513e+03 4 -2.16870536e+04 -1.18148081e+04 -5.81655903e+03 5 -2.92946423e+03 -2.02017996e+04 -1.48068955e+04 6 1.71413792e+04 -6.86875471e+03 -2.11211090e+04 7 2.26327989e+04 -3.22111869e+04 -5.93921082e+03 8 3.00718244e+04 -8.12208302e+04 -3.85729165e+04 9 -2.03626732e+04 2.57473681e+03 -2.22367988e+04 10 -7.47041632e+03 2.55656109e+04 -2.42955926e+04 11 -7.51540688e+04 8.99947548e+03 -4.11725157e+04 12 -2.14604342e+04 1.66502152e+04 -3.39578271e+03 13 1.88815753e+04 1.99243132e+04 -5.38305414e+04 14 1.04981587e+04 1.07700410e+04 -1.06462064e+04 15 6.25982174e+04 2.55405311e+04 -2.73456332e+04 16 1.20500279e+04 6.57076074e+04 -2.30346459e+04 17 -5.95038859e+03 -5.77224277e+03 2.59811590e+03 18 -3.05621744e+04 -3.20093050e+04 2.56936332e+04 19 -4.04444690e+03 -7.32684572e+03 6.33392970e+03 20 -5.97454996e+03 -2.72236418e+03 5.66194676e+03 21 4.02556044e+03 -2.61635110e+04 1.35240735e+04 22 3.41910927e+04 -2.04987588e+04 1.50936984e+04 23 3.55829448e+03 -5.51837002e+03 5.35548666e+03 24 1.88444132e+03 -1.39123659e+04 2.55842206e+04 25 -3.46161898e+04 8.92058377e+03 1.87762437e+04 26 -2.44783684e+04 4.05225148e+04 2.12838416e+04 27 -1.60873992e+04 3.24169363e+03 2.42722896e+04 28 -7.51885962e+03 4.25531715e+03 7.74166440e+03 29 3.47729239e+04 3.16031558e+04 8.71010022e+04 30 2.79234386e+04 2.54368706e+04 4.98234513e+03 31 2.86722380e+04 1.29180018e+03 3.51701566e+04 32 -2.89102083e+03 1.89382984e+04 2.87063438e+04 ================================================================================ VALGRIND OUTPUT ================================================================================ ==88838== Memcheck, a memory error detector ==88838== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==88838== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==88838== Command: python runner2.py EAM_Dynamo_MendelevKramerBecker_2008_Al__MO_106969701023_005 ==88838== ==88838== Conditional jump or move depends on uninitialised value(s) ==88838== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==88838== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==88838== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==88838== by 0x547A3F: ??? (in /usr/bin/python3.6) ==88838== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==88838== by 0x5BA640: ??? (in /usr/bin/python3.6) ==88838== by 0x551B80: ??? (in /usr/bin/python3.6) ==88838== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==88838== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==88838== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==88838== by 0x509D47: ??? (in /usr/bin/python3.6) ==88838== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==88838== ==88838== Conditional jump or move depends on uninitialised value(s) ==88838== at 0x4E63408: internal_utf8_loop (loop.c:298) ==88838== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==88838== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==88838== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==88838== by 0x547A3F: ??? (in /usr/bin/python3.6) ==88838== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==88838== by 0x5BA640: ??? (in /usr/bin/python3.6) ==88838== by 0x551B80: ??? (in /usr/bin/python3.6) ==88838== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==88838== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==88838== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==88838== by 0x509D47: ??? (in /usr/bin/python3.6) ==88838== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==88838== ==88838== Conditional jump or move depends on uninitialised value(s) ==88838== at 0x4E63411: internal_utf8_loop (loop.c:303) ==88838== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==88838== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==88838== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==88838== by 0x547A3F: ??? (in /usr/bin/python3.6) ==88838== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==88838== by 0x5BA640: ??? (in /usr/bin/python3.6) ==88838== by 0x551B80: ??? (in /usr/bin/python3.6) ==88838== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==88838== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==88838== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==88838== by 0x509D47: ??? (in /usr/bin/python3.6) ==88838== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==88838== ==88838== Conditional jump or move depends on uninitialised value(s) ==88838== at 0x4E63458: internal_utf8_loop (loop.c:298) ==88838== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==88838== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==88838== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==88838== by 0x547A3F: ??? (in /usr/bin/python3.6) ==88838== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==88838== by 0x5BA640: ??? (in /usr/bin/python3.6) ==88838== by 0x551B80: ??? (in /usr/bin/python3.6) ==88838== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==88838== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==88838== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==88838== by 0x509D47: ??? (in /usr/bin/python3.6) ==88838== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==88838== ==88838== Conditional jump or move depends on uninitialised value(s) ==88838== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==88838== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==88838== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==88838== by 0x547A3F: ??? (in /usr/bin/python3.6) ==88838== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==88838== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==88838== by 0x4F8388: ??? (in /usr/bin/python3.6) ==88838== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==88838== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==88838== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==88838== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==88838== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==88838== ==88838== ==88838== HEAP SUMMARY: ==88838== in use at exit: 2,764,995 bytes in 1,647 blocks ==88838== total heap usage: 36,172 allocs, 34,525 frees, 73,429,420 bytes allocated ==88838== ==88838== LEAK SUMMARY: ==88838== definitely lost: 0 bytes in 0 blocks ==88838== indirectly lost: 0 bytes in 0 blocks ==88838== possibly lost: 146,155 bytes in 87 blocks ==88838== still reachable: 2,618,840 bytes in 1,560 blocks ==88838== suppressed: 0 bytes in 0 blocks ==88838== Rerun with --leak-check=full to see details of leaked memory ==88838== ==88838== For counts of detected and suppressed errors, rerun with: -v ==88838== Use --track-origins=yes to see where uninitialised values come from ==88838== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12374 from 655) ================================================================================ 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.