Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008389/0.000839, allocations: 94.8 kB / 17.35 MB, free: 6.344 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.0007866/0.0007866, allocations: 170.2 kB / 18.25 MB, free: 5.508 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.48/1.48, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2167/0.2167, allocations: 44.24 MB / 337.7 MB, free: 2.453 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003408, allocations: 12 kB / 410.3 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 61.92 MB / 472.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002755/0.1447, allocations: 1.911 MB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1466, allocations: 1.162 MB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1467, allocations: 4 kB / 475.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.1471, allocations: 123.6 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.1474, allocations: 179.3 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.1481, allocations: 292.8 kB / 475.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.1485, allocations: 406.8 kB / 476.3 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.1487, allocations: 48.72 kB / 476.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.149, allocations: 275 kB / 476.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.1492, allocations: 143.2 kB / 476.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.1492, allocations: 4 kB / 476.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1494, allocations: 59.98 kB / 476.8 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1495, allocations: 143.4 kB / 477 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.1497, allocations: 216.1 kB / 477.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.1501, allocations: 446.4 kB / 477.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1502, allocations: 0 / 477.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.1502, allocations: 0 / 477.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1502, allocations: 3.938 kB / 477.6 MB, free: 7.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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001049/0.1512, allocations: 0.7741 MB / 478.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1513, allocations: 12.03 kB / 478.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1514, allocations: 72.08 kB / 478.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.1519, allocations: 432.2 kB / 478.9 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.1519, allocations: 12.38 kB / 478.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.152, allocations: 16.12 kB / 478.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.1524, allocations: 197.5 kB / 479.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1524, allocations: 7.906 kB / 479.1 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.1524, allocations: 8 kB / 479.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1524, allocations: 4 kB / 479.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.1527, allocations: 91.86 kB / 479.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009855/0.1537, allocations: 0.8132 MB / 480.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.1543, allocations: 250.5 kB / 480.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1545, allocations: 87.52 kB / 480.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.1545, allocations: 8.234 kB / 480.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.1549, allocations: 204.3 kB / 480.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.155, allocations: 0 / 480.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002444/0.1574, allocations: 1.153 MB / 481.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.1575, allocations: 144.4 kB / 481.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009565/0.1585, allocations: 0.9144 MB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.1585, allocations: 37.7 kB / 482.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.1587, allocations: 264.9 kB / 483.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1588, allocations: 138.1 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.1589, allocations: 41.7 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1591, allocations: 382.8 kB / 483.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.1593, allocations: 112.8 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.1596, allocations: 187.1 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.1602, allocations: 319 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1602, allocations: 0 / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007585/0.1609, allocations: 444.5 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.161, allocations: 8 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.161, allocations: 3.984 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.161, allocations: 4 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.1613, allocations: 83.91 kB / 484.8 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.1613, allocations: 4 kB / 484.8 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1615, allocations: 32.05 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.1615, allocations: 16 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.1618, allocations: 255.9 kB / 485.1 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.103e-05/0.1619, allocations: 79.05 kB / 485.2 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.1621, allocations: 85.45 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1621, allocations: 4 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.1621, allocations: 4 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.1621, allocations: 7.922 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.1638, allocations: 1.322 MB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1639, allocations: 4 kB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.164, allocations: 63.84 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.164, allocations: 4 kB / 486.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.1641, allocations: 16 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.1641, allocations: 4 kB / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.1641, allocations: 12.23 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009138/0.165, allocations: 0.781 MB / 487.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.1652, allocations: 188.2 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.1653, allocations: 19.98 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.1656, allocations: 16 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/0.1657, allocations: 47.77 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.1657, allocations: 23.98 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000707/0.1664, allocations: 0.6786 MB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1665, allocations: 0 / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005178/0.167, allocations: 84 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001291/0.1683, allocations: 0.54 MB / 489.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006281/0.1689, allocations: 315.6 kB / 489.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1689, allocations: 0 / 489.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.1692, allocations: 165 kB / 489.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.1704, allocations: 128.8 kB / 489.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1721, allocations: 1.347 MB / 491 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.1727, allocations: 0.9112 MB / 491.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002321/0.1729, allocations: 79.25 kB / 492 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.173, allocations: 55.41 kB / 492 MB, free: 9.113 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.173, allocations: 0 / 492 MB, free: 9.113 MB / 366.1 MB Notification: Performance of Templates: time 0.01015/0.1832, allocations: 5.018 MB / 497.1 MB, free: 4.148 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches