Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008888, allocations: 88.03 kB / 17.63 MB, free: 6.125 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.0011/0.0011, allocations: 184.1 kB / 18.52 MB, free: 5.289 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.496/1.496, allocations: 223.3 MB / 242.5 MB, free: 308 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.2246/0.2246, allocations: 44.23 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 13.09 kB / 410.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1562, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002483/0.1587, allocations: 1.394 MB / 473.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1602, allocations: 0.8075 MB / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.1602, allocations: 0 / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1606, allocations: 35.89 kB / 474.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1608, allocations: 51.77 kB / 474.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1611, allocations: 83.83 kB / 474.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1612, allocations: 83.7 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1614, allocations: 12.22 kB / 474.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.1615, allocations: 39.84 kB / 474.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.521e-05/0.1615, allocations: 23.8 kB / 474.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1616, allocations: 4 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.1617, allocations: 39.97 kB / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.1617, allocations: 15.92 kB / 474.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/0.1618, allocations: 37.64 kB / 474.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1619, allocations: 88.09 kB / 474.9 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.162, allocations: 0 / 474.9 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.162, allocations: 0 / 474.9 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.162, allocations: 0 / 474.9 MB, free: 11 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000585/0.1626, allocations: 394.9 kB / 475.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1626, allocations: 12.03 kB / 475.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.1627, allocations: 11.84 kB / 475.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1629, allocations: 206.8 kB / 475.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.163, allocations: 0 / 475.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.163, allocations: 4 kB / 475.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1631, allocations: 61.56 kB / 475.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1632, allocations: 0 / 475.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1632, allocations: 4 kB / 475.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1632, allocations: 0 / 475.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.158e-05/0.1633, allocations: 19.98 kB / 475.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.1637, allocations: 284.9 kB / 475.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1638, allocations: 62.61 kB / 475.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.1639, allocations: 24.84 kB / 476 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1639, allocations: 0 / 476 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.1641, allocations: 71.38 kB / 476 MB, free: 9.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.1641, allocations: 0 / 476 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000599/0.1647, allocations: 169.5 kB / 476.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1648, allocations: 55.41 kB / 476.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.165, allocations: 186.2 kB / 476.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1651, allocations: 25.7 kB / 476.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.1651, allocations: 96.14 kB / 476.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1652, allocations: 27.64 kB / 476.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.1652, allocations: 8 kB / 476.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1653, allocations: 326.8 kB / 476.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/0.1654, allocations: 19.98 kB / 476.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-05/0.1655, allocations: 33.66 kB / 477 MB, free: 8.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.124e-05/0.1655, allocations: 27.98 kB / 477 MB, free: 8.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1655, allocations: 3.938 kB / 477 MB, free: 8.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.1657, allocations: 101.5 kB / 477.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1657, allocations: 8 kB / 477.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1658, allocations: 0 / 477.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.1658, allocations: 3.938 kB / 477.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.1659, allocations: 24.05 kB / 477.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1659, allocations: 0 / 477.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.1659, allocations: 8 kB / 477.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1659, allocations: 0 / 477.1 MB, free: 8.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 0.0001082/0.1661, allocations: 133.4 kB / 477.3 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.1661, allocations: 12.09 kB / 477.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.1661, allocations: 20.7 kB / 477.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1661, allocations: 3.938 kB / 477.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1661, allocations: 0 / 477.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1662, allocations: 7.984 kB / 477.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004302/0.1666, allocations: 383.3 kB / 477.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1666, allocations: 0 / 477.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.212e-05/0.1666, allocations: 11.94 kB / 477.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1667, allocations: 4.031 kB / 477.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1667, allocations: 8 kB / 477.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1667, allocations: 0 / 477.7 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1667, allocations: 3.984 kB / 477.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1669, allocations: 208.4 kB / 477.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.1671, allocations: 89.02 kB / 478 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1671, allocations: 0 / 478 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.1672, allocations: 11.98 kB / 478 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1672, allocations: 8 kB / 478 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1672, allocations: 4 kB / 478 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1674, allocations: 143.2 kB / 478.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.774e-06/0.1674, allocations: 0 / 478.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1676, allocations: 27.94 kB / 478.2 MB, free: 7.375 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001156/0.1688, allocations: 467.8 kB / 478.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.169, allocations: 51.98 kB / 478.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.169, allocations: 0 / 478.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.1691, allocations: 27.92 kB / 478.7 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1694, allocations: 41.88 kB / 478.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.1699, allocations: 260 kB / 479 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.1703, allocations: 0.7082 MB / 479.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.1703, allocations: 23.38 kB / 479.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of SimCode: time 2.725e-06/0.1704, allocations: 0 / 479.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of Templates: time 0.003853/0.1742, allocations: 1.888 MB / 481.6 MB, free: 4.047 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Tables.CombiTimeTable.Test22CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22CalcHelperMain.o] Error 1