Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_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.001209/0.001209, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001394/0.001394, allocations: 194 kB / 18.12 MB, free: 5.363 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.445/1.445, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.2148/0.2148, allocations: 44.18 MB / 336.1 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 63.94 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1491, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004215/0.1534, allocations: 1.935 MB / 470.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1553, allocations: 0.9706 MB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.1555, allocations: 4 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.156, allocations: 247.5 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.1564, allocations: 171.5 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.157, allocations: 162.8 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.1574, allocations: 251.2 kB / 472.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1575, allocations: 25.67 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.1577, allocations: 115.5 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.1579, allocations: 187.4 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.158, allocations: 4 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1581, allocations: 51.98 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1582, allocations: 71.73 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1584, allocations: 91.28 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.1587, allocations: 235.3 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1587, allocations: 0 / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1587, allocations: 0 / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1587, allocations: 0 / 473 MB, free: 10.33 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.000939/0.1597, allocations: 0.5642 MB / 473.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.1597, allocations: 12.03 kB / 473.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.1598, allocations: 32.56 kB / 473.6 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1601, allocations: 295.9 kB / 473.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.1602, allocations: 8.375 kB / 473.9 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/0.1602, allocations: 12.12 kB / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.1605, allocations: 107.3 kB / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1605, allocations: 0 / 474 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.1605, allocations: 4 kB / 474 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.1606, allocations: 4 kB / 474 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.1607, allocations: 43.91 kB / 474.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.1613, allocations: 484.8 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.1617, allocations: 125.2 kB / 474.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.1619, allocations: 45.83 kB / 474.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.1619, allocations: 0 / 474.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.1623, allocations: 125 kB / 474.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1623, allocations: 0 / 474.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001365/0.1636, allocations: 0.5037 MB / 475.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.1637, allocations: 81.11 kB / 475.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.1642, allocations: 477.7 kB / 475.9 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1643, allocations: 33.7 kB / 475.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.1644, allocations: 160.5 kB / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.401e-05/0.1644, allocations: 75 kB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.1645, allocations: 45.7 kB / 476.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1646, allocations: 350.7 kB / 476.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1648, allocations: 59.97 kB / 476.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.1649, allocations: 91.34 kB / 476.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.1652, allocations: 159.3 kB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1652, allocations: 0 / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003957/0.1656, allocations: 229.5 kB / 477.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1656, allocations: 11.88 kB / 477.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1656, allocations: 0 / 477.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1657, allocations: 7.938 kB / 477.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.1658, allocations: 47.91 kB / 477.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.1658, allocations: 8.062 kB / 477.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.1659, allocations: 8 kB / 477.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.166, allocations: 8 kB / 477.2 MB, free: 5.891 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.0002077/0.1662, allocations: 182.2 kB / 477.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.1662, allocations: 43.45 kB / 477.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.088e-05/0.1663, allocations: 43.75 kB / 477.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1663, allocations: 0 / 477.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1663, allocations: 4 kB / 477.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1663, allocations: 4 kB / 477.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009533/0.1673, allocations: 0.7311 MB / 478.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1673, allocations: 4 kB / 478.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.1674, allocations: 32.11 kB / 478.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1674, allocations: 0 / 478.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.1674, allocations: 8 kB / 478.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.1675, allocations: 7.938 kB / 478.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1675, allocations: 0 / 478.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.1679, allocations: 425.6 kB / 478.6 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.168, allocations: 104.7 kB / 478.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.1681, allocations: 7.984 kB / 478.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1682, allocations: 8 kB / 478.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.1683, allocations: 23.92 kB / 478.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.1683, allocations: 15.98 kB / 478.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003303/0.1686, allocations: 355.3 kB / 479.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1686, allocations: 0 / 479.1 MB, free: 3.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.169, allocations: 55.92 kB / 479.2 MB, free: 3.738 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.001222/0.1702, allocations: 0.5179 MB / 479.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.1706, allocations: 159.8 kB / 479.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1706, allocations: 4.125 kB / 479.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1708, allocations: 79.84 kB / 480 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.1714, allocations: 59.16 kB / 480 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.1724, allocations: 0.6667 MB / 480.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.1728, allocations: 0.7809 MB / 481.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.1729, allocations: 37.92 kB / 481.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.173, allocations: 27.44 kB / 481.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.173, allocations: 0 / 481.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Templates: time 0.007558/0.1806, allocations: 3.003 MB / 484.5 MB, free: 14.57 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches