Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009494, allocations: 89.88 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 182 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 242.5 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 44.22 MB / 337.9 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 8 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1597, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002151/0.1619, allocations: 1.567 MB / 473.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008186/0.1628, allocations: 0.4991 MB / 474.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.45e-05/0.1629, allocations: 4 kB / 474.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.1629, allocations: 7.922 kB / 474.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1631, allocations: 31.78 kB / 474.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1634, allocations: 63.91 kB / 474.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1636, allocations: 139.4 kB / 474.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1638, allocations: 28.97 kB / 474.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.164, allocations: 63.77 kB / 474.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1641, allocations: 55.75 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.1641, allocations: 8 kB / 474.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.033e-05/0.1642, allocations: 12 kB / 474.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.1642, allocations: 19.92 kB / 474.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.1643, allocations: 41.64 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1645, allocations: 103.9 kB / 474.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.1645, allocations: 0 / 474.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1645, allocations: 0 / 474.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1645, allocations: 0 / 474.8 MB, free: 11.08 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009096/0.1654, allocations: 442.8 kB / 475.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1655, allocations: 8.031 kB / 475.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.1656, allocations: 11.91 kB / 475.3 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1658, allocations: 186.8 kB / 475.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1658, allocations: 8 kB / 475.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.1658, allocations: 11.95 kB / 475.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.1662, allocations: 136.2 kB / 475.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1663, allocations: 0 / 475.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.1663, allocations: 4 kB / 475.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.1663, allocations: 11.97 kB / 475.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.1667, allocations: 103.9 kB / 475.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009931/0.1677, allocations: 455.4 kB / 476.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.168, allocations: 98.45 kB / 476.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.1681, allocations: 48.92 kB / 476.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1682, allocations: 0 / 476.3 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.1682, allocations: 34.56 kB / 476.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1682, allocations: 0 / 476.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001356/0.1696, allocations: 369.1 kB / 476.7 MB, free: 9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.1696, allocations: 102.8 kB / 476.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.1698, allocations: 152 kB / 476.9 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1698, allocations: 25.7 kB / 477 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.1699, allocations: 116.1 kB / 477.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1699, allocations: 23.73 kB / 477.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.1699, allocations: 0 / 477.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1701, allocations: 322.8 kB / 477.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.1703, allocations: 71.95 kB / 477.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.1706, allocations: 108.2 kB / 477.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1708, allocations: 75.98 kB / 477.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1708, allocations: 0 / 477.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004885/0.1713, allocations: 193.3 kB / 477.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1713, allocations: 7.953 kB / 477.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1713, allocations: 4 kB / 477.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1713, allocations: 7.922 kB / 477.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.1719, allocations: 95.97 kB / 478 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.1733, allocations: 1.398 MB / 479.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.1735, allocations: 36.19 kB / 479.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1735, allocations: 4 kB / 479.4 MB, free: 6.074 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.1736, allocations: 117.8 kB / 479.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.1736, allocations: 16.14 kB / 479.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.1741, allocations: 194.3 kB / 479.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1742, allocations: 7.984 kB / 479.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-07/0.1742, allocations: 0 / 479.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1742, allocations: 3.984 kB / 479.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.175, allocations: 478.3 kB / 480.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.175, allocations: 8.062 kB / 480.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1751, allocations: 39.91 kB / 480.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1751, allocations: 0 / 480.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1752, allocations: 0 / 480.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1752, allocations: 0 / 480.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1752, allocations: 0 / 480.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005129/0.1757, allocations: 275.3 kB / 480.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1757, allocations: 92.91 kB / 480.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1758, allocations: 0 / 480.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.176, allocations: 35.97 kB / 480.7 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.176, allocations: 7.984 kB / 480.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1761, allocations: 0 / 480.7 MB, free: 4.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.332e-05/0.1761, allocations: 113.7 kB / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1761, allocations: 0 / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1764, allocations: 24 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.1765, allocations: 111.2 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008223/0.1774, allocations: 192.2 kB / 481.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1774, allocations: 0 / 481.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.1776, allocations: 79.83 kB / 481.2 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.1779, allocations: 15.95 kB / 481.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1792, allocations: 455.8 kB / 481.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1796, allocations: 0.7004 MB / 482.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.1796, allocations: 11.44 kB / 482.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1796, allocations: 0 / 482.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Templates: time 0.003798/0.1834, allocations: 1.823 MB / 484.2 MB, free: 1.148 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductorCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductorCalcHelperMain.o] Error 1