Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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 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 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 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007431/0.007431, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001828/0.001828, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.926/1.926, allocations: 205.1 MB / 222.7 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4595/0.4595, allocations: 43.5 MB / 313.5 MB, free: 8.484 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.91 kB / 382 MB, free: 8.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1562, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003447/0.1597, allocations: 1.908 MB / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1616, allocations: 0.8781 MB / 442.6 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.1617, allocations: 3.938 kB / 442.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.1621, allocations: 247.5 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.1623, allocations: 171.5 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.1627, allocations: 131.8 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.1629, allocations: 235.3 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.163, allocations: 29.52 kB / 443.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1631, allocations: 115.6 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.1635, allocations: 171.4 kB / 443.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1635, allocations: 4 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.1636, allocations: 47.97 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.1638, allocations: 59.77 kB / 443.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.1639, allocations: 91.28 kB / 443.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.1643, allocations: 215.4 kB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1643, allocations: 4 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1643, allocations: 0 / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.605e-06/0.1643, allocations: 0 / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001036/0.1653, allocations: 0.5602 MB / 444.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001271/0.1655, allocations: 8.031 kB / 444.7 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.1655, allocations: 28.56 kB / 444.7 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.1659, allocations: 292 kB / 445 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1659, allocations: 4.375 kB / 445 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1659, allocations: 8.125 kB / 445 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.1661, allocations: 95.36 kB / 445.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1662, allocations: 0 / 445.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1662, allocations: 0 / 445.1 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1662, allocations: 7.938 kB / 445.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.1663, allocations: 43.91 kB / 445.1 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.1668, allocations: 452.9 kB / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.167, allocations: 121.3 kB / 445.7 MB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.1671, allocations: 41.7 kB / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.1672, allocations: 0 / 445.7 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.1674, allocations: 113 kB / 445.9 MB, free: 8.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.1674, allocations: 4 kB / 445.9 MB, free: 8.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008718/0.1683, allocations: 379.8 kB / 446.2 MB, free: 8.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.1684, allocations: 88.98 kB / 446.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.1689, allocations: 477.7 kB / 446.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.169, allocations: 33.7 kB / 446.8 MB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1692, allocations: 156.4 kB / 447 MB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.1692, allocations: 51.34 kB / 447 MB, free: 7.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.1694, allocations: 41.7 kB / 447.1 MB, free: 7.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002969/0.1697, allocations: 342.8 kB / 447.4 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1698, allocations: 39.98 kB / 447.4 MB, free: 6.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.1699, allocations: 68.16 kB / 447.5 MB, free: 6.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.1702, allocations: 123.5 kB / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1702, allocations: 0 / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004642/0.1706, allocations: 181.2 kB / 447.8 MB, free: 6.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1707, allocations: 8 kB / 447.8 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.1707, allocations: 0 / 447.8 MB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1707, allocations: 4 kB / 447.8 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1708, allocations: 39.92 kB / 447.8 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1708, allocations: 12 kB / 447.9 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.1709, allocations: 11.89 kB / 447.9 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.1709, allocations: 8 kB / 447.9 MB, free: 6.461 MB / 382.1 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002621/0.1712, allocations: 173.7 kB / 448.1 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.1712, allocations: 35.62 kB / 448.1 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.1713, allocations: 34.81 kB / 448.1 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1713, allocations: 7.984 kB / 448.1 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.72e-05/0.1714, allocations: 3.938 kB / 448.1 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1714, allocations: 0 / 448.1 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/0.1721, allocations: 0.6281 MB / 448.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1721, allocations: 0 / 448.8 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.1722, allocations: 20 kB / 448.8 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1722, allocations: 11.92 kB / 448.8 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1722, allocations: 0 / 448.8 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1722, allocations: 8.062 kB / 448.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1722, allocations: 0 / 448.8 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.1726, allocations: 368 kB / 449.2 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.1727, allocations: 100.7 kB / 449.3 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1727, allocations: 8 kB / 449.3 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.1729, allocations: 15.98 kB / 449.3 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.1729, allocations: 11.98 kB / 449.3 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1729, allocations: 4 kB / 449.3 MB, free: 4.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003683/0.1733, allocations: 367.1 kB / 449.7 MB, free: 4.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1733, allocations: 0 / 449.7 MB, free: 4.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.1737, allocations: 32 kB / 449.7 MB, free: 4.539 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001542/0.1752, allocations: 480.9 kB / 450.2 MB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.1755, allocations: 115.8 kB / 450.3 MB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.1755, allocations: 3.938 kB / 450.3 MB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1756, allocations: 60.05 kB / 450.3 MB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.1764, allocations: 61.19 kB / 450.4 MB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.1772, allocations: 0.5985 MB / 451 MB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.1776, allocations: 0.7713 MB / 451.8 MB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.95e-05/0.1777, allocations: 30.56 kB / 451.8 MB, free: 2.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.1778, allocations: 31.42 kB / 451.8 MB, free: 2.379 MB / 382.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1778, allocations: 0 / 451.8 MB, free: 2.379 MB / 382.1 MB Notification: Performance of Templates: time 0.2621/0.4399, allocations: 2.62 MB / 454.4 MB, free: 48.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches