!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_ZhouJohnsonWadley_2004_Au__MO_468407568810_005 Supported species : Au random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Au (Configuration in file "config-F-Au.xyz") ----------------------------------------------------------------------------------------------------- Energy = 249.3885230181437 Forces: 1 -9.72774341e+00 -3.40269876e+01 -2.71528483e+01 2 -9.28056885e+00 9.78500987e+00 -2.51653981e+01 3 1.15609660e+01 -2.97863855e+01 -1.43898200e+01 4 -2.14980514e+01 2.21576729e+01 1.87140523e+01 5 8.76670136e+00 -3.20020736e+01 -1.26154346e+01 6 1.43501249e+01 5.79371742e+00 -1.74782083e+01 7 2.11328653e+01 -6.12239495e+01 -4.93086264e+01 8 -1.57933177e+01 -1.37668064e+01 -9.58931280e+00 9 -2.34836925e+01 -2.49776116e+01 -5.53887203e+01 10 -4.72769450e+00 4.79450904e+01 -4.83002225e+01 11 -1.58227444e+01 -3.08783236e+01 2.14349174e+01 12 -3.38576053e+01 4.08531656e+01 2.54362519e+01 13 -3.75990484e+00 -3.50877295e+01 -8.92706245e+01 14 2.29922587e+01 3.15620269e+01 -2.85423351e+01 15 8.18471536e+01 -2.19640890e+01 2.71089241e+01 16 -2.50798744e+00 7.62514313e+01 2.77820991e+01 17 -3.59602321e+01 -1.65815127e+01 4.34142464e+00 18 5.82650622e+00 2.19472951e+01 5.52838209e+00 19 3.21872620e+00 -2.81957680e+01 1.64692630e+01 20 -1.61098857e+01 8.93419665e+00 1.38977775e+01 21 -2.14559936e+01 -2.73767520e+01 1.92208052e+01 22 4.74050639e+01 4.32626254e+01 3.94364912e+01 23 9.61922378e+00 -5.44121104e+00 1.83707813e+01 24 8.95148732e+00 4.05836749e+00 1.71279430e+01 25 -3.10960097e+01 -7.57936162e+00 3.38415893e-01 26 -1.57151746e+01 4.65981703e+01 -1.61136971e+01 27 1.76697478e+01 -5.81491860e+01 3.08422279e+01 28 -5.43997477e+01 4.60086909e+01 1.36373305e+01 29 -1.23215562e+01 -2.20327832e+01 1.96226574e+01 30 2.51417254e+01 3.84886317e+01 -1.28896785e+00 31 3.17430520e+01 -2.72523834e+01 3.75404600e+01 32 1.72923074e+01 3.26768221e+01 3.77540114e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Au (Configuration in file "config-T-Au.xyz") ----------------------------------------------------------------------------------------------------- Energy = 249.3885230181437 Forces: 1 -9.72774341e+00 -3.40269876e+01 -2.71528483e+01 2 -9.28056885e+00 9.78500987e+00 -2.51653981e+01 3 1.15609660e+01 -2.97863855e+01 -1.43898200e+01 4 -2.14980514e+01 2.21576729e+01 1.87140523e+01 5 8.76670136e+00 -3.20020736e+01 -1.26154346e+01 6 1.43501249e+01 5.79371742e+00 -1.74782083e+01 7 2.11328653e+01 -6.12239495e+01 -4.93086264e+01 8 -1.57933177e+01 -1.37668064e+01 -9.58931280e+00 9 -2.34836925e+01 -2.49776116e+01 -5.53887203e+01 10 -4.72769450e+00 4.79450904e+01 -4.83002225e+01 11 -1.58227444e+01 -3.08783236e+01 2.14349174e+01 12 -3.38576053e+01 4.08531656e+01 2.54362519e+01 13 -3.75990484e+00 -3.50877295e+01 -8.92706245e+01 14 2.29922587e+01 3.15620269e+01 -2.85423351e+01 15 8.18471536e+01 -2.19640890e+01 2.71089241e+01 16 -2.50798744e+00 7.62514313e+01 2.77820991e+01 17 -3.59602321e+01 -1.65815127e+01 4.34142464e+00 18 5.82650622e+00 2.19472951e+01 5.52838209e+00 19 3.21872620e+00 -2.81957680e+01 1.64692630e+01 20 -1.61098857e+01 8.93419665e+00 1.38977775e+01 21 -2.14559936e+01 -2.73767520e+01 1.92208052e+01 22 4.74050639e+01 4.32626254e+01 3.94364912e+01 23 9.61922378e+00 -5.44121104e+00 1.83707813e+01 24 8.95148732e+00 4.05836749e+00 1.71279430e+01 25 -3.10960097e+01 -7.57936162e+00 3.38415893e-01 26 -1.57151746e+01 4.65981703e+01 -1.61136971e+01 27 1.76697478e+01 -5.81491860e+01 3.08422279e+01 28 -5.43997477e+01 4.60086909e+01 1.36373305e+01 29 -1.23215562e+01 -2.20327832e+01 1.96226574e+01 30 2.51417254e+01 3.84886317e+01 -1.28896785e+00 31 3.17430520e+01 -2.72523834e+01 3.75404600e+01 32 1.72923074e+01 3.26768221e+01 3.77540114e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==91929== Memcheck, a memory error detector ==91929== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==91929== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==91929== Command: python runner2.py EAM_Dynamo_ZhouJohnsonWadley_2004_Au__MO_468407568810_005 ==91929== ==91929== Conditional jump or move depends on uninitialised value(s) ==91929== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==91929== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==91929== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91929== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91929== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91929== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91929== by 0x551B80: ??? (in /usr/bin/python3.6) ==91929== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91929== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91929== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91929== by 0x509D47: ??? (in /usr/bin/python3.6) ==91929== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91929== ==91929== Conditional jump or move depends on uninitialised value(s) ==91929== at 0x4E63408: internal_utf8_loop (loop.c:298) ==91929== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==91929== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91929== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91929== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91929== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91929== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91929== by 0x551B80: ??? (in /usr/bin/python3.6) ==91929== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91929== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91929== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91929== by 0x509D47: ??? (in /usr/bin/python3.6) ==91929== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91929== ==91929== Conditional jump or move depends on uninitialised value(s) ==91929== at 0x4E63411: internal_utf8_loop (loop.c:303) ==91929== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==91929== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91929== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91929== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91929== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91929== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91929== by 0x551B80: ??? (in /usr/bin/python3.6) ==91929== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91929== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91929== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91929== by 0x509D47: ??? (in /usr/bin/python3.6) ==91929== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91929== ==91929== Conditional jump or move depends on uninitialised value(s) ==91929== at 0x4E63458: internal_utf8_loop (loop.c:298) ==91929== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==91929== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91929== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91929== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91929== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91929== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91929== by 0x551B80: ??? (in /usr/bin/python3.6) ==91929== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91929== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91929== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91929== by 0x509D47: ??? (in /usr/bin/python3.6) ==91929== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91929== ==91929== Conditional jump or move depends on uninitialised value(s) ==91929== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==91929== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==91929== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91929== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91929== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==91929== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==91929== by 0x4F8388: ??? (in /usr/bin/python3.6) ==91929== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==91929== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==91929== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==91929== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==91929== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91929== ==91929== ==91929== HEAP SUMMARY: ==91929== in use at exit: 2,764,995 bytes in 1,647 blocks ==91929== total heap usage: 36,172 allocs, 34,525 frees, 64,212,753 bytes allocated ==91929== ==91929== LEAK SUMMARY: ==91929== definitely lost: 0 bytes in 0 blocks ==91929== indirectly lost: 0 bytes in 0 blocks ==91929== possibly lost: 146,155 bytes in 87 blocks ==91929== still reachable: 2,618,840 bytes in 1,560 blocks ==91929== suppressed: 0 bytes in 0 blocks ==91929== Rerun with --leak-check=full to see details of leaked memory ==91929== ==91929== For counts of detected and suppressed errors, rerun with: -v ==91929== Use --track-origins=yes to see where uninitialised values come from ==91929== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12356 from 649) ================================================================================ 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.