Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 93.64 kB / 17 MB, free: 6.418 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.001191/0.001191, allocations: 188.4 kB / 17.89 MB, free: 5.945 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.462/1.462, allocations: 223.2 MB / 241.9 MB, free: 268 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.2193/0.2193, allocations: 44.24 MB / 337.3 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004845, allocations: 12 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1625, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002185/0.1648, allocations: 1.398 MB / 473 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1663, allocations: 0.7998 MB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.773e-05/0.1664, allocations: 0 / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1667, allocations: 55.8 kB / 473.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.167, allocations: 47.83 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1673, allocations: 91.81 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.1675, allocations: 87.69 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.1676, allocations: 8.219 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.761e-05/0.1677, allocations: 51.72 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.1678, allocations: 31.84 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1678, allocations: 4 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1679, allocations: 31.98 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.168, allocations: 19.92 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.168, allocations: 45.58 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1682, allocations: 100.1 kB / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1682, allocations: 0 / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1682, allocations: 0 / 474.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1682, allocations: 0 / 474.4 MB, free: 10.93 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.0005492/0.1688, allocations: 428.9 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1688, allocations: 8.031 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.1689, allocations: 15.91 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1691, allocations: 210.7 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1692, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.1692, allocations: 7.984 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1693, allocations: 61.56 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1694, allocations: 4 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.1694, allocations: 0 / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1694, allocations: 0 / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.1695, allocations: 23.98 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.1699, allocations: 288.9 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.17, allocations: 62.61 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.1701, allocations: 20.86 kB / 475.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1701, allocations: 7.984 kB / 475.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.1703, allocations: 67.39 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1704, allocations: 0 / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006764/0.171, allocations: 185 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.1711, allocations: 55.39 kB / 475.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.1715, allocations: 270.3 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.1715, allocations: 25.7 kB / 476.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1716, allocations: 112.1 kB / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.1717, allocations: 19.72 kB / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.1717, allocations: 0 / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.1719, allocations: 334.8 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/0.172, allocations: 20 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/0.1721, allocations: 41.64 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.1722, allocations: 20 kB / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1722, allocations: 0 / 476.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002195/0.1724, allocations: 101.5 kB / 476.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1724, allocations: 4 kB / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.1724, allocations: 0 / 476.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1725, allocations: 7.938 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.1726, allocations: 19.98 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.1726, allocations: 0 / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.1726, allocations: 8.031 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1727, allocations: 4.188 kB / 476.7 MB, free: 8.316 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.0001688/0.1728, allocations: 138.2 kB / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1729, allocations: 23.69 kB / 476.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.1729, allocations: 21.39 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1729, allocations: 0 / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.173, allocations: 0 / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.173, allocations: 0 / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.1735, allocations: 411.3 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1735, allocations: 4 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.1735, allocations: 7.938 kB / 477.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1736, allocations: 4 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1736, allocations: 0 / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1736, allocations: 0 / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1736, allocations: 4 kB / 477.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.1738, allocations: 212.2 kB / 477.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.1739, allocations: 96.89 kB / 477.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.1739, allocations: 4 kB / 477.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/0.174, allocations: 4 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.1741, allocations: 7.984 kB / 477.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1741, allocations: 4.375 kB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.1743, allocations: 196.5 kB / 477.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1743, allocations: 4 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.1746, allocations: 31.94 kB / 477.9 MB, free: 7.062 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.001193/0.1758, allocations: 462.1 kB / 478.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.176, allocations: 63.97 kB / 478.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.176, allocations: 0 / 478.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.422e-05/0.1761, allocations: 27.92 kB / 478.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.1764, allocations: 38.78 kB / 478.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/0.177, allocations: 295.1 kB / 478.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1774, allocations: 0.716 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.1775, allocations: 20.81 kB / 479.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.1775, allocations: 15.44 kB / 479.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1775, allocations: 0 / 479.5 MB, free: 5.559 MB / 350.1 MB Notification: Performance of Templates: time 0.004837/0.1823, allocations: 1.607 MB / 481.1 MB, free: 3.965 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches