Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009565/0.0009566, allocations: 91.97 kB / 17.63 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009007/0.0009008, allocations: 198.9 kB / 18.54 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 45.91 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002872, allocations: 8 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1541, allocations: 63.46 MB / 482.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.002594/0.1568, allocations: 1.58 MB / 483.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.158, allocations: 0.538 MB / 484.2 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.1581, allocations: 4 kB / 484.2 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.1581, allocations: 11.91 kB / 484.3 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.1584, allocations: 35.77 kB / 484.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1587, allocations: 71.16 kB / 484.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1589, allocations: 139.4 kB / 484.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.159, allocations: 25.09 kB / 484.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.1593, allocations: 63.77 kB / 484.6 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1595, allocations: 59.69 kB / 484.6 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.1595, allocations: 8 kB / 484.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-05/0.1596, allocations: 20 kB / 484.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.1596, allocations: 19.92 kB / 484.7 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.1597, allocations: 45.64 kB / 484.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1599, allocations: 99.98 kB / 484.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.1599, allocations: 4 kB / 484.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.1599, allocations: 0 / 484.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.16, allocations: 0 / 484.8 MB, free: 2.645 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.0009734/0.1609, allocations: 434.8 kB / 485.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.161, allocations: 8.031 kB / 485.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003318/0.1613, allocations: 51.88 kB / 485.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.1616, allocations: 194.7 kB / 485.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.1616, allocations: 8 kB / 485.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.1617, allocations: 4 kB / 485.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.162, allocations: 136.2 kB / 485.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1621, allocations: 0 / 485.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.1621, allocations: 4 kB / 485.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1621, allocations: 4 kB / 485.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.1624, allocations: 107.9 kB / 485.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009049/0.1633, allocations: 463.3 kB / 486.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.1636, allocations: 102.4 kB / 486.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1638, allocations: 44.92 kB / 486.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1638, allocations: 0 / 486.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1638, allocations: 34.56 kB / 486.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1639, allocations: 4 kB / 486.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.001294/0.1652, allocations: 361.2 kB / 486.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.1652, allocations: 102.8 kB / 486.9 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1654, allocations: 148.1 kB / 487 MB, free: 268 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1654, allocations: 25.7 kB / 487 MB, free: 236 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.1655, allocations: 120.1 kB / 487.1 MB, free: 108 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.1655, allocations: 19.75 kB / 487.2 MB, free: 88 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.1655, allocations: 0 / 487.2 MB, free: 88 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1657, allocations: 322.8 kB / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.1659, allocations: 71.95 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.1662, allocations: 108.2 kB / 487.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1664, allocations: 72.17 kB / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1664, allocations: 0 / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004822/0.1669, allocations: 205.3 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1669, allocations: 4 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1669, allocations: 4 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.167, allocations: 0 / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.1675, allocations: 91.91 kB / 488 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.169, allocations: 1.406 MB / 489.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1692, allocations: 28.02 kB / 489.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.1693, allocations: 7.984 kB / 489.5 MB, free: 13.62 MB / 366.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.0001422/0.1694, allocations: 122.4 kB / 489.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.134e-05/0.1695, allocations: 11.91 kB / 489.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.17, allocations: 194.2 kB / 489.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.17, allocations: 4 kB / 489.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.17, allocations: 0 / 489.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.17, allocations: 3.984 kB / 489.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/0.1708, allocations: 486.2 kB / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1708, allocations: 0 / 490.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1709, allocations: 40.03 kB / 490.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.171, allocations: 3.938 kB / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.171, allocations: 4 kB / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.171, allocations: 0 / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.171, allocations: 0 / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.1715, allocations: 279.5 kB / 490.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.1716, allocations: 85.02 kB / 490.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.1716, allocations: 0 / 490.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.1718, allocations: 35.97 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.1718, allocations: 7.984 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1718, allocations: 0 / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.667e-05/0.1719, allocations: 113.7 kB / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1719, allocations: 0 / 490.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1722, allocations: 31.95 kB / 490.8 MB, free: 12.12 MB / 366.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.0001252/0.1723, allocations: 103.2 kB / 490.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007844/0.1731, allocations: 187.8 kB / 491.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1731, allocations: 4.125 kB / 491.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.1734, allocations: 71.89 kB / 491.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1737, allocations: 16 kB / 491.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1749, allocations: 449.5 kB / 491.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1753, allocations: 0.7004 MB / 492.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.1753, allocations: 11.44 kB / 492.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1753, allocations: 4 kB / 492.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of Templates: time 0.003687/0.179, allocations: 1.814 MB / 494.2 MB, free: 8.711 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductorCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductorCalcHelperMain.o] Error 1