!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!! !!!!! !!!!! 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_StillingerWeber_1985_Si__MO_405512056662_006 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 = 533.5068322471383 Forces: 1 -2.04948361e+01 -2.91919025e+01 -2.63264859e+01 2 -8.04133993e+00 -1.10097731e+01 -6.20205520e+01 3 -1.02395709e+01 -5.74654688e+01 -1.30722707e+01 4 -5.65695595e+01 -1.67768387e+00 -5.08854178e-01 5 5.73599437e+00 -4.26791872e+01 -3.21509847e+01 6 3.50466281e+01 -9.22661000e+00 -3.97247932e+01 7 3.56174263e+01 -6.01646637e+01 -2.81673467e+01 8 9.49408978e-01 -3.56186623e+01 -1.43180135e+00 9 -3.01165774e+01 1.31478277e+01 -4.74969609e+01 10 -1.95557866e+01 4.62453898e+01 -5.11010026e+01 11 -4.22403251e+01 -1.29738051e+00 -1.69251770e+01 12 -4.46145393e+01 4.13379074e+01 -1.34666386e+01 13 2.95210692e+00 9.45003316e+00 -1.00464339e+02 14 2.60723372e+01 2.19809179e+01 -2.30919788e+01 15 1.02397663e+02 8.51819347e+00 -1.40679549e-01 16 1.88893344e+01 8.99930748e+01 -1.58216316e+01 17 -3.68392763e+01 -2.23809160e+01 7.23859078e+00 18 -1.73856849e+01 -7.80403367e+00 2.20899331e+01 19 -3.13197593e-01 -2.54795875e+01 3.44178671e+01 20 -2.12040804e+01 3.15660088e+00 2.22488615e+01 21 5.12561630e+00 -5.28695875e+01 2.14728228e+01 22 6.34180309e+01 6.43499441e+00 2.65051682e+01 23 1.95062230e+01 -1.28056964e+01 2.46644553e+01 24 2.46484419e+00 -1.00123147e+01 5.20409356e+01 25 -6.95962574e+01 -1.15728583e+01 2.43898131e+01 26 -1.91574142e+01 7.41261175e+01 1.13435844e+01 27 -1.14685895e+01 -3.01316941e+01 5.67111251e+01 28 -4.78840740e+01 3.19460970e+01 2.45615574e+01 29 2.15453041e+01 2.87437742e+00 3.90088546e+01 30 4.82924106e+01 3.73484051e+01 5.50852849e+00 31 5.11616906e+01 -5.04947057e+00 4.55365100e+01 32 1.65460900e+01 3.98775543e+01 5.41728889e+01 MONOATOMIC STRUCTURE (pbc=True)-- Species = Si (Configuration in file "config-T-Si.xyz") ----------------------------------------------------------------------------------------------------- Energy = 533.5068322471383 Forces: 1 -2.04948361e+01 -2.91919025e+01 -2.63264859e+01 2 -8.04133993e+00 -1.10097731e+01 -6.20205520e+01 3 -1.02395709e+01 -5.74654688e+01 -1.30722707e+01 4 -5.65695595e+01 -1.67768387e+00 -5.08854178e-01 5 5.73599437e+00 -4.26791872e+01 -3.21509847e+01 6 3.50466281e+01 -9.22661000e+00 -3.97247932e+01 7 3.56174263e+01 -6.01646637e+01 -2.81673467e+01 8 9.49408978e-01 -3.56186623e+01 -1.43180135e+00 9 -3.01165774e+01 1.31478277e+01 -4.74969609e+01 10 -1.95557866e+01 4.62453898e+01 -5.11010026e+01 11 -4.22403251e+01 -1.29738051e+00 -1.69251770e+01 12 -4.46145393e+01 4.13379074e+01 -1.34666386e+01 13 2.95210692e+00 9.45003316e+00 -1.00464339e+02 14 2.60723372e+01 2.19809179e+01 -2.30919788e+01 15 1.02397663e+02 8.51819347e+00 -1.40679549e-01 16 1.88893344e+01 8.99930748e+01 -1.58216316e+01 17 -3.68392763e+01 -2.23809160e+01 7.23859078e+00 18 -1.73856849e+01 -7.80403367e+00 2.20899331e+01 19 -3.13197593e-01 -2.54795875e+01 3.44178671e+01 20 -2.12040804e+01 3.15660088e+00 2.22488615e+01 21 5.12561630e+00 -5.28695875e+01 2.14728228e+01 22 6.34180309e+01 6.43499441e+00 2.65051682e+01 23 1.95062230e+01 -1.28056964e+01 2.46644553e+01 24 2.46484419e+00 -1.00123147e+01 5.20409356e+01 25 -6.95962574e+01 -1.15728583e+01 2.43898131e+01 26 -1.91574142e+01 7.41261175e+01 1.13435844e+01 27 -1.14685895e+01 -3.01316941e+01 5.67111251e+01 28 -4.78840740e+01 3.19460970e+01 2.45615574e+01 29 2.15453041e+01 2.87437742e+00 3.90088546e+01 30 4.82924106e+01 3.73484051e+01 5.50852849e+00 31 5.11616906e+01 -5.04947057e+00 4.55365100e+01 32 1.65460900e+01 3.98775543e+01 5.41728889e+01 ================================================================================ VALGRIND OUTPUT ================================================================================ ==21175== Memcheck, a memory error detector ==21175== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==21175== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info ==21175== Command: python runner2.py SW_StillingerWeber_1985_Si__MO_405512056662_006 ==21175== ==21175== Conditional jump or move depends on uninitialised value(s) ==21175== at 0x4FCDC2C: __wcsnlen_avx2 (strlen-avx2.S:106) ==21175== by 0x4EFBCA1: wcsrtombs (wcsrtombs.c:104) ==21175== by 0x4E81C40: wcstombs (wcstombs.c:34) ==21175== by 0x5471CF: ??? (in /usr/bin/python3.6) ==21175== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==21175== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==21175== by 0x5515C0: ??? (in /usr/bin/python3.6) ==21175== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==21175== by 0x50A432: ??? (in /usr/bin/python3.6) ==21175== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==21175== by 0x5095C7: ??? (in /usr/bin/python3.6) ==21175== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==21175== ==21175== Conditional jump or move depends on uninitialised value(s) ==21175== at 0x4E654E8: internal_utf8_loop (loop.c:298) ==21175== by 0x4E654E8: __gconv_transform_internal_utf8 (skeleton.c:609) ==21175== by 0x4EFBCD4: wcsrtombs (wcsrtombs.c:110) ==21175== by 0x4E81C40: wcstombs (wcstombs.c:34) ==21175== by 0x5471CF: ??? (in /usr/bin/python3.6) ==21175== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==21175== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==21175== by 0x5515C0: ??? (in /usr/bin/python3.6) ==21175== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==21175== by 0x50A432: ??? (in /usr/bin/python3.6) ==21175== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==21175== by 0x5095C7: ??? (in /usr/bin/python3.6) ==21175== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==21175== ==21175== Conditional jump or move depends on uninitialised value(s) ==21175== at 0x4E654F1: internal_utf8_loop (loop.c:303) ==21175== by 0x4E654F1: __gconv_transform_internal_utf8 (skeleton.c:609) ==21175== by 0x4EFBCD4: wcsrtombs (wcsrtombs.c:110) ==21175== by 0x4E81C40: wcstombs (wcstombs.c:34) ==21175== by 0x5471CF: ??? (in /usr/bin/python3.6) ==21175== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==21175== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==21175== by 0x5515C0: ??? (in /usr/bin/python3.6) ==21175== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==21175== by 0x50A432: ??? (in /usr/bin/python3.6) ==21175== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==21175== by 0x5095C7: ??? (in /usr/bin/python3.6) ==21175== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==21175== ==21175== Conditional jump or move depends on uninitialised value(s) ==21175== at 0x4E65538: internal_utf8_loop (loop.c:298) ==21175== by 0x4E65538: __gconv_transform_internal_utf8 (skeleton.c:609) ==21175== by 0x4EFBCD4: wcsrtombs (wcsrtombs.c:110) ==21175== by 0x4E81C40: wcstombs (wcstombs.c:34) ==21175== by 0x5471CF: ??? (in /usr/bin/python3.6) ==21175== by 0x6330AD: _Py_stat (in /usr/bin/python3.6) ==21175== by 0x5B9C10: ??? (in /usr/bin/python3.6) ==21175== by 0x5515C0: ??? (in /usr/bin/python3.6) ==21175== by 0x5A9DAB: _PyObject_FastCallKeywords (in /usr/bin/python3.6) ==21175== by 0x50A432: ??? (in /usr/bin/python3.6) ==21175== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==21175== by 0x5095C7: ??? (in /usr/bin/python3.6) ==21175== by 0x50A2FC: ??? (in /usr/bin/python3.6) ==21175== ==21175== Conditional jump or move depends on uninitialised value(s) ==21175== at 0x4FCDDB7: __wcsnlen_avx2 (strlen-avx2.S:264) ==21175== by 0x4EFBCA1: wcsrtombs (wcsrtombs.c:104) ==21175== by 0x4E81C40: wcstombs (wcstombs.c:34) ==21175== by 0x5471CF: ??? (in /usr/bin/python3.6) ==21175== by 0x5474B0: PyUnicode_FSConverter (in /usr/bin/python3.6) ==21175== by 0x4C4D46: ??? (in /usr/bin/python3.6) ==21175== by 0x4F7E48: ??? (in /usr/bin/python3.6) ==21175== by 0x4FB843: ??? (in /usr/bin/python3.6) ==21175== by 0x4FC3D4: _PyArg_ParseStack_SizeT (in /usr/bin/python3.6) ==21175== by 0x4C6448: ??? (in /usr/bin/python3.6) ==21175== by 0x50A259: ??? (in /usr/bin/python3.6) ==21175== by 0x50BEB3: _PyEval_EvalFrameDefault (in /usr/bin/python3.6) ==21175== ==21175== ==21175== HEAP SUMMARY: ==21175== in use at exit: 2,776,403 bytes in 1,535 blocks ==21175== total heap usage: 49,578 allocs, 48,043 frees, 62,724,931 bytes allocated ==21175== ==21175== LEAK SUMMARY: ==21175== definitely lost: 0 bytes in 0 blocks ==21175== indirectly lost: 0 bytes in 0 blocks ==21175== possibly lost: 145,088 bytes in 84 blocks ==21175== still reachable: 2,631,315 bytes in 1,451 blocks ==21175== suppressed: 0 bytes in 0 blocks ==21175== Rerun with --leak-check=full to see details of leaked memory ==21175== ==21175== For counts of detected and suppressed errors, rerun with: -v ==21175== Use --track-origins=yes to see where uninitialised values come from ==21175== ERROR SUMMARY: 6672 errors from 5 contexts (suppressed: 12664 from 664) ================================================================================ 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.