!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_WilliamsMishinHamilton_2006_Ag__MO_131620013077_005 Supported species : Ag random seed = 13 lattice constant (orig) = 3.000 perturbation amplitude = 0.300 number unit cells per side = 2 ----------------------------------------------------------------------------------------------------- MONOATOMIC STRUCTURE (pbc=False)-- Species = Ag (Configuration in file "config-F-Ag.xyz") ----------------------------------------------------------------------------------------------------- Energy = 195.30822155166376 Forces: 1 -7.72174221e+00 -1.67216810e+01 -1.43947267e+01 2 -5.59014268e+00 7.23724229e+00 -1.60199933e+01 3 5.51173130e+00 -1.56913911e+01 -2.85696781e+00 4 -1.46711888e+01 8.10855696e+00 6.85938594e+00 5 2.02289700e+00 -2.15819623e+01 -9.49821529e+00 6 1.28915238e+01 2.57425946e+00 -1.51896482e+01 7 1.30103478e+01 -2.58537092e+01 -1.40884739e+01 8 -1.09954124e+01 -1.07617967e+01 4.58639407e+00 9 -1.06593494e+01 -1.47908050e+01 -2.38453263e+01 10 1.27899021e+01 2.21251289e+01 -1.80382749e+01 11 1.80839984e+00 -1.33477444e+01 -9.36558561e+00 12 -2.42026856e+01 2.14185199e+01 1.05598923e+01 13 -8.98405977e+00 -5.48383734e+00 -4.02714425e+01 14 1.22771926e+01 1.50460211e+01 -1.26466570e+01 15 3.70568133e+01 -8.06706906e+00 5.13744702e+00 16 -1.40644053e+00 3.62932543e+01 2.98611435e+00 17 -2.37455716e+01 -1.47715531e+01 -5.48472711e+00 18 8.79221068e+00 1.03652431e+01 -1.85667993e+00 19 8.67568494e+00 -1.76878275e+01 1.51892361e+01 20 -1.29392843e+01 9.76914866e+00 1.52265307e+01 21 -1.19564704e+01 -1.50770600e+01 6.92384565e+00 22 2.23365767e+01 1.72218050e+01 1.24692233e+01 23 7.45910203e+00 -4.29809436e+00 1.26062924e+01 24 1.43070875e+00 -4.49416690e+00 1.14673643e+01 25 -2.96069252e+01 -1.92421513e+00 1.38808374e+01 26 -6.23809440e+00 2.92320700e+01 -5.88376647e+00 27 4.45562200e-01 -2.21159941e+01 1.65314391e+01 28 -2.35898570e+01 1.76347828e+01 7.67520782e+00 29 4.21105801e-01 -1.44321625e+01 8.08816132e+00 30 1.56264268e+01 1.76432971e+01 3.25283235e+00 31 2.08593811e+01 -7.09320951e+00 1.53966533e+01 32 8.89165744e+00 1.95249498e+01 2.06036276e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Ag (Configuration in file "config-T-Ag.xyz") ----------------------------------------------------------------------------------------------------- Energy = 195.30822155166376 Forces: 1 -7.72174221e+00 -1.67216810e+01 -1.43947267e+01 2 -5.59014268e+00 7.23724229e+00 -1.60199933e+01 3 5.51173130e+00 -1.56913911e+01 -2.85696781e+00 4 -1.46711888e+01 8.10855696e+00 6.85938594e+00 5 2.02289700e+00 -2.15819623e+01 -9.49821529e+00 6 1.28915238e+01 2.57425946e+00 -1.51896482e+01 7 1.30103478e+01 -2.58537092e+01 -1.40884739e+01 8 -1.09954124e+01 -1.07617967e+01 4.58639407e+00 9 -1.06593494e+01 -1.47908050e+01 -2.38453263e+01 10 1.27899021e+01 2.21251289e+01 -1.80382749e+01 11 1.80839984e+00 -1.33477444e+01 -9.36558561e+00 12 -2.42026856e+01 2.14185199e+01 1.05598923e+01 13 -8.98405977e+00 -5.48383734e+00 -4.02714425e+01 14 1.22771926e+01 1.50460211e+01 -1.26466570e+01 15 3.70568133e+01 -8.06706906e+00 5.13744702e+00 16 -1.40644053e+00 3.62932543e+01 2.98611435e+00 17 -2.37455716e+01 -1.47715531e+01 -5.48472711e+00 18 8.79221068e+00 1.03652431e+01 -1.85667993e+00 19 8.67568494e+00 -1.76878275e+01 1.51892361e+01 20 -1.29392843e+01 9.76914866e+00 1.52265307e+01 21 -1.19564704e+01 -1.50770600e+01 6.92384565e+00 22 2.23365767e+01 1.72218050e+01 1.24692233e+01 23 7.45910203e+00 -4.29809436e+00 1.26062924e+01 24 1.43070875e+00 -4.49416690e+00 1.14673643e+01 25 -2.96069252e+01 -1.92421513e+00 1.38808374e+01 26 -6.23809440e+00 2.92320700e+01 -5.88376647e+00 27 4.45562200e-01 -2.21159941e+01 1.65314391e+01 28 -2.35898570e+01 1.76347828e+01 7.67520782e+00 29 4.21105801e-01 -1.44321625e+01 8.08816132e+00 30 1.56264268e+01 1.76432971e+01 3.25283235e+00 31 2.08593811e+01 -7.09320951e+00 1.53966533e+01 32 8.89165744e+00 1.95249498e+01 2.06036276e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==91171== Memcheck, a memory error detector ==91171== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==91171== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==91171== Command: python runner2.py EAM_Dynamo_WilliamsMishinHamilton_2006_Ag__MO_131620013077_005 ==91171== ==91171== Conditional jump or move depends on uninitialised value(s) ==91171== at 0x4FCBE77: __wcsnlen_avx2 (strlen-avx2.S:261) ==91171== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==91171== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91171== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91171== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91171== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91171== by 0x551B80: ??? (in /usr/bin/python3.6) ==91171== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91171== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91171== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91171== by 0x509D47: ??? (in /usr/bin/python3.6) ==91171== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91171== ==91171== Conditional jump or move depends on uninitialised value(s) ==91171== at 0x4E63408: internal_utf8_loop (loop.c:298) ==91171== by 0x4E63408: __gconv_transform_internal_utf8 (skeleton.c:609) ==91171== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91171== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91171== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91171== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91171== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91171== by 0x551B80: ??? (in /usr/bin/python3.6) ==91171== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91171== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91171== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91171== by 0x509D47: ??? (in /usr/bin/python3.6) ==91171== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91171== ==91171== Conditional jump or move depends on uninitialised value(s) ==91171== at 0x4E63411: internal_utf8_loop (loop.c:303) ==91171== by 0x4E63411: __gconv_transform_internal_utf8 (skeleton.c:609) ==91171== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91171== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91171== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91171== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91171== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91171== by 0x551B80: ??? (in /usr/bin/python3.6) ==91171== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91171== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91171== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91171== by 0x509D47: ??? (in /usr/bin/python3.6) ==91171== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91171== ==91171== Conditional jump or move depends on uninitialised value(s) ==91171== at 0x4E63458: internal_utf8_loop (loop.c:298) ==91171== by 0x4E63458: __gconv_transform_internal_utf8 (skeleton.c:609) ==91171== by 0x4EF9EF4: wcsrtombs (wcsrtombs.c:110) ==91171== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91171== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91171== by 0x63345D: _Py_stat (in /usr/bin/python3.6) ==91171== by 0x5BA640: ??? (in /usr/bin/python3.6) ==91171== by 0x551B80: ??? (in /usr/bin/python3.6) ==91171== by 0x5AA6EB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==91171== by 0x50ABB2: ??? (in /usr/bin/python3.6) ==91171== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91171== by 0x509D47: ??? (in /usr/bin/python3.6) ==91171== by 0x50AA7C: ??? (in /usr/bin/python3.6) ==91171== ==91171== Conditional jump or move depends on uninitialised value(s) ==91171== at 0x4FCBCEC: __wcsnlen_avx2 (strlen-avx2.S:103) ==91171== by 0x4EF9EC1: wcsrtombs (wcsrtombs.c:104) ==91171== by 0x4E7FB20: wcstombs (wcstombs.c:34) ==91171== by 0x547A3F: ??? (in /usr/bin/python3.6) ==91171== by 0x547D20: PyUnicode_FSConverter (in /usr/bin/python3.6) ==91171== by 0x4C51E6: ??? (in /usr/bin/python3.6) ==91171== by 0x4F8388: ??? (in /usr/bin/python3.6) ==91171== by 0x4FBD83: ??? (in /usr/bin/python3.6) ==91171== by 0x4FC914: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==91171== by 0x4C6C88: ??? (in /usr/bin/python3.6) ==91171== by 0x50A9D9: ??? (in /usr/bin/python3.6) ==91171== by 0x50C5B8: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==91171== ==91171== ==91171== HEAP SUMMARY: ==91171== in use at exit: 2,764,995 bytes in 1,647 blocks ==91171== total heap usage: 36,172 allocs, 34,525 frees, 73,429,950 bytes allocated ==91171== ==91171== LEAK SUMMARY: ==91171== definitely lost: 0 bytes in 0 blocks ==91171== indirectly lost: 0 bytes in 0 blocks ==91171== possibly lost: 146,155 bytes in 87 blocks ==91171== still reachable: 2,618,840 bytes in 1,560 blocks ==91171== suppressed: 0 bytes in 0 blocks ==91171== Rerun with --leak-check=full to see details of leaked memory ==91171== ==91171== For counts of detected and suppressed errors, rerun with: -v ==91171== Use --track-origins=yes to see where uninitialised values come from ==91171== 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.