Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.002085/0.002085, allocations: 192 kB / 19.34 MB, free: 3.766 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.56/1.56, allocations: 222.9 MB / 243 MB, free: 15.08 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.2192/0.2192, allocations: 44.17 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 65.16 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1411, allocations: 60.84 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003401/0.1445, allocations: 1.882 MB / 472.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1462, allocations: 0.9859 MB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.1463, allocations: 4 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.1467, allocations: 151.5 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.147, allocations: 143.4 kB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.1475, allocations: 178.8 kB / 474.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.1478, allocations: 231.3 kB / 474.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1479, allocations: 25.66 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.148, allocations: 111.5 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.1482, allocations: 127.6 kB / 474.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1482, allocations: 8 kB / 474.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1484, allocations: 63.97 kB / 474.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.1484, allocations: 47.78 kB / 474.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.1486, allocations: 79.41 kB / 474.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1489, allocations: 211.3 kB / 474.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.149, allocations: 0 / 474.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.149, allocations: 3.938 kB / 474.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.149, allocations: 3.938 kB / 474.9 MB, free: 9.41 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009196/0.1499, allocations: 0.5323 MB / 475.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.15, allocations: 8.031 kB / 475.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.103e-05/0.1501, allocations: 24.66 kB / 475.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000517/0.1506, allocations: 275.5 kB / 475.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1506, allocations: 4.375 kB / 475.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.1507, allocations: 16.12 kB / 475.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.151, allocations: 111.3 kB / 475.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.151, allocations: 3.938 kB / 475.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1511, allocations: 0 / 475.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.1511, allocations: 4 kB / 475.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.1513, allocations: 51.84 kB / 476 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.152, allocations: 464.8 kB / 476.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.1526, allocations: 129.1 kB / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.1527, allocations: 41.83 kB / 476.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.1528, allocations: 4 kB / 476.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/0.1531, allocations: 121 kB / 476.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.104e-06/0.1531, allocations: 0 / 476.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001706/0.1548, allocations: 481.1 kB / 477.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.1549, allocations: 85.11 kB / 477.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/0.1555, allocations: 355 kB / 477.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.1555, allocations: 37.64 kB / 477.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1556, allocations: 140.5 kB / 477.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.101e-05/0.1557, allocations: 75.08 kB / 477.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-05/0.1558, allocations: 41.7 kB / 477.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.156, allocations: 334.8 kB / 478.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1562, allocations: 59.97 kB / 478.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.1564, allocations: 99.28 kB / 478.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.1567, allocations: 159.4 kB / 478.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1567, allocations: 0 / 478.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005607/0.1573, allocations: 229.2 kB / 478.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.1573, allocations: 11.94 kB / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.1574, allocations: 0 / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1574, allocations: 0 / 478.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.1576, allocations: 47.91 kB / 478.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.1576, allocations: 4.234 kB / 478.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1577, allocations: 12 kB / 478.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1578, allocations: 4 kB / 478.8 MB, free: 5.234 MB / 350.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 (26): * Single equations (assignments): 26 * 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.0002089/0.158, allocations: 161.8 kB / 479 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.1581, allocations: 35.56 kB / 479 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.916e-05/0.1582, allocations: 37.72 kB / 479.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1582, allocations: 4 kB / 479.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.1582, allocations: 0 / 479.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1582, allocations: 3.938 kB / 479.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.1594, allocations: 0.7232 MB / 479.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1595, allocations: 4 kB / 479.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1596, allocations: 23.98 kB / 479.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1596, allocations: 4 kB / 479.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.1596, allocations: 8 kB / 479.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.1596, allocations: 7.984 kB / 479.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.1596, allocations: 3.938 kB / 479.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.1602, allocations: 409.9 kB / 480.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.611e-05/0.1603, allocations: 100.8 kB / 480.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.1604, allocations: 8 kB / 480.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.1606, allocations: 12 kB / 480.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.1607, allocations: 27.84 kB / 480.4 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.1607, allocations: 12 kB / 480.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003893/0.1611, allocations: 257.9 kB / 480.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1611, allocations: 4 kB / 480.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005081/0.1616, allocations: 47.91 kB / 480.7 MB, free: 3.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001901/0.1636, allocations: 0.5226 MB / 481.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005729/0.1641, allocations: 160 kB / 481.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1642, allocations: 0 / 481.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.1645, allocations: 75.91 kB / 481.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000799/0.1653, allocations: 64.31 kB / 481.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.1669, allocations: 493.3 kB / 482 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.1676, allocations: 0.7558 MB / 482.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.1678, allocations: 49.83 kB / 482.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1679, allocations: 35.42 kB / 482.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.1679, allocations: 3.938 kB / 482.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Templates: time 0.01128/0.1792, allocations: 3.062 MB / 485.9 MB, free: 14.2 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches