Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009948/0.0009949, allocations: 102.3 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3764/0.3764, allocations: 43.49 MB / 360.7 MB, free: 51.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 51.92 kB / 429.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1445, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.004517/0.1491, allocations: 1.849 MB / 488.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.1518, allocations: 1.445 MB / 490.3 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.152, allocations: 8 kB / 490.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.1524, allocations: 51.8 kB / 490.4 MB, free: 9.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.1529, allocations: 75.67 kB / 490.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1533, allocations: 127.7 kB / 490.6 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.1537, allocations: 175.5 kB / 490.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.06e-05/0.1537, allocations: 13.55 kB / 490.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1539, allocations: 79.52 kB / 490.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1542, allocations: 67.69 kB / 490.9 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.1542, allocations: 4 kB / 490.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.1544, allocations: 55.97 kB / 491 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.1545, allocations: 31.84 kB / 491 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.1545, allocations: 51.61 kB / 491 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.1549, allocations: 167.8 kB / 491.2 MB, free: 8.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1549, allocations: 0 / 491.2 MB, free: 8.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1549, allocations: 0 / 491.2 MB, free: 8.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1549, allocations: 0 / 491.2 MB, free: 8.32 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007658/0.1557, allocations: 474.6 kB / 491.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1557, allocations: 8.031 kB / 491.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.1558, allocations: 16.75 kB / 491.7 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.1562, allocations: 239.7 kB / 491.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.1562, allocations: 12.36 kB / 491.9 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.1562, allocations: 8.125 kB / 491.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.1565, allocations: 97.03 kB / 492 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1565, allocations: 0 / 492 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.1565, allocations: 11.97 kB / 492 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1565, allocations: 0 / 492 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1567, allocations: 31.92 kB / 492.1 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.157, allocations: 210.5 kB / 492.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.1572, allocations: 105.2 kB / 492.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.1574, allocations: 45.62 kB / 492.4 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1574, allocations: 7.984 kB / 492.4 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.1577, allocations: 116.9 kB / 492.6 MB, free: 6.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1577, allocations: 4 kB / 492.6 MB, free: 6.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004656/0.1582, allocations: 161.4 kB / 492.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/0.1583, allocations: 132.5 kB / 492.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.1585, allocations: 215.8 kB / 493.1 MB, free: 6.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1585, allocations: 25.7 kB / 493.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.1586, allocations: 116.1 kB / 493.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.1587, allocations: 27.66 kB / 493.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.1588, allocations: 33.7 kB / 493.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1589, allocations: 322.8 kB / 493.6 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.159, allocations: 27.98 kB / 493.6 MB, free: 5.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.1591, allocations: 77.12 kB / 493.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.1593, allocations: 87.86 kB / 493.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1593, allocations: 0 / 493.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002857/0.1596, allocations: 141.3 kB / 493.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.1597, allocations: 8 kB / 493.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1597, allocations: 8.078 kB / 493.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1597, allocations: 0 / 493.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1598, allocations: 27.98 kB / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1598, allocations: 0 / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.831e-05/0.1599, allocations: 7.906 kB / 493.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.16, allocations: 4 kB / 494 MB, free: 5.262 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001447/0.1601, allocations: 141.7 kB / 494.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.1602, allocations: 15.81 kB / 494.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.1602, allocations: 28.98 kB / 494.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1602, allocations: 0 / 494.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1602, allocations: 0 / 494.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1602, allocations: 0 / 494.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.1604, allocations: 221.5 kB / 494.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1605, allocations: 4 kB / 494.4 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.1605, allocations: 4 kB / 494.4 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1605, allocations: 7.922 kB / 494.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1605, allocations: 4 kB / 494.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1605, allocations: 0 / 494.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1605, allocations: 0 / 494.4 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007022/0.1612, allocations: 0.7807 MB / 495.2 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.1613, allocations: 92.86 kB / 495.2 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.1613, allocations: 4 kB / 495.2 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/0.1614, allocations: 7.984 kB / 495.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.1615, allocations: 15.92 kB / 495.3 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1615, allocations: 7.984 kB / 495.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.1617, allocations: 165.5 kB / 495.4 MB, free: 3.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1617, allocations: 0 / 495.4 MB, free: 3.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.162, allocations: 35.98 kB / 495.5 MB, free: 3.602 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001008/0.1631, allocations: 446.3 kB / 495.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1633, allocations: 79.89 kB / 496 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1633, allocations: 0 / 496 MB, free: 3.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1634, allocations: 47.91 kB / 496 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1638, allocations: 52.42 kB / 496.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.1644, allocations: 424.6 kB / 496.5 MB, free: 2.578 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1648, allocations: 0.7282 MB / 497.2 MB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.1649, allocations: 33.5 kB / 497.3 MB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.165, allocations: 19.44 kB / 497.3 MB, free: 1.773 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.165, allocations: 4 kB / 497.3 MB, free: 1.77 MB / 378.7 MB Notification: Performance of Templates: time 0.00616/0.1712, allocations: 2.59 MB / 499.9 MB, free: 15.19 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches