Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009392/0.0009391, allocations: 95.94 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.0009822/0.0009822, allocations: 189.2 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.541/1.541, allocations: 223.2 MB / 241.9 MB, free: 360 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.2537/0.2537, allocations: 44.25 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 8.906 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002992/0.1514, allocations: 1.928 MB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1535, allocations: 1.193 MB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1537, allocations: 7.938 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.1543, allocations: 267.3 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.1547, allocations: 231.1 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007864/0.1555, allocations: 333.3 kB / 475.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.1561, allocations: 446.5 kB / 476 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1562, allocations: 53.02 kB / 476 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.1565, allocations: 211 kB / 476.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.1568, allocations: 227.1 kB / 476.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.862e-05/0.1569, allocations: 8 kB / 476.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.157, allocations: 47.92 kB / 476.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.1572, allocations: 91.64 kB / 476.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.486e-05/0.1573, allocations: 89.44 kB / 476.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1576, allocations: 279.6 kB / 477 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1577, allocations: 0 / 477 MB, free: 8.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1577, allocations: 0 / 477 MB, free: 8.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1577, allocations: 4 kB / 477 MB, free: 8.305 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001187/0.1589, allocations: 0.697 MB / 477.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.1589, allocations: 8.031 kB / 477.7 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1591, allocations: 51.34 kB / 477.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.1597, allocations: 387.1 kB / 478.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1597, allocations: 12 kB / 478.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.1598, allocations: 15.91 kB / 478.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.1602, allocations: 202.8 kB / 478.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.1602, allocations: 3.938 kB / 478.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.1602, allocations: 8 kB / 478.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1602, allocations: 8 kB / 478.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.1605, allocations: 95.86 kB / 478.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1615, allocations: 0.8488 MB / 479.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.1621, allocations: 285.3 kB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.1624, allocations: 100.2 kB / 479.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.1624, allocations: 8 kB / 479.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.1628, allocations: 235.3 kB / 479.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.1628, allocations: 0 / 479.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001905/0.1648, allocations: 0.9688 MB / 480.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.1649, allocations: 158.2 kB / 481 MB, free: 3.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.1655, allocations: 0.616 MB / 481.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.1655, allocations: 37.7 kB / 481.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1657, allocations: 224.9 kB / 481.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.909e-05/0.1658, allocations: 118.4 kB / 482 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.1658, allocations: 12 kB / 482 MB, free: 2.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.166, allocations: 370.8 kB / 482.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.1662, allocations: 96.83 kB / 482.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.1665, allocations: 184.8 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1667, allocations: 120.3 kB / 482.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1667, allocations: 0 / 482.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006986/0.1674, allocations: 396.9 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.1675, allocations: 8 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.1675, allocations: 3.938 kB / 483.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.1675, allocations: 11.89 kB / 483.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.1678, allocations: 88.61 kB / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.1679, allocations: 12 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1681, allocations: 23.98 kB / 483.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.1681, allocations: 16 kB / 483.3 MB, free: 1.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002753/0.1684, allocations: 208.8 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.1685, allocations: 55.34 kB / 483.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.1686, allocations: 67.91 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.1686, allocations: 8 kB / 483.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.1686, allocations: 3.953 kB / 483.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1687, allocations: 7.984 kB / 483.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.1705, allocations: 1.261 MB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.1705, allocations: 4 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.1707, allocations: 47.92 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.1707, allocations: 4 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.1707, allocations: 15.98 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1707, allocations: 4 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1707, allocations: 8.156 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1717, allocations: 0.8053 MB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.1719, allocations: 136.4 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.355e-05/0.172, allocations: 15.98 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.1723, allocations: 19.98 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1724, allocations: 39.91 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.1725, allocations: 23.94 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005355/0.173, allocations: 454.8 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.173, allocations: 0 / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005651/0.1736, allocations: 83.91 kB / 486.6 MB, free: 14.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0014/0.175, allocations: 496.6 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006621/0.1757, allocations: 284.2 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1757, allocations: 4.062 kB / 487.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.176, allocations: 147.8 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.177, allocations: 125.4 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.1786, allocations: 0.9465 MB / 488.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009102/0.1795, allocations: 0.8515 MB / 489.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.1798, allocations: 87.31 kB / 489.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.1799, allocations: 51.42 kB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1799, allocations: 0 / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01137/0.1913, allocations: 5.127 MB / 494.7 MB, free: 6.234 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches