Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.001301/0.001301, allocations: 172.7 kB / 18.25 MB, free: 5.527 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.451/1.451, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2298/0.2298, allocations: 44.24 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003436, allocations: 8 kB / 410.3 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1574, allocations: 61.92 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002303/0.1598, allocations: 1.452 MB / 473.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1613, allocations: 0.8538 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.633e-05/0.1614, allocations: 0 / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.1618, allocations: 111.7 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.162, allocations: 71.78 kB / 474.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1624, allocations: 98.2 kB / 474.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1625, allocations: 123.7 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1627, allocations: 23.97 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1628, allocations: 63.7 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.1629, allocations: 67.73 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1629, allocations: 0 / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1631, allocations: 47.98 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.1631, allocations: 27.92 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.058e-05/0.1632, allocations: 77.3 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.1635, allocations: 151.7 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1635, allocations: 0 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1635, allocations: 0 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1635, allocations: 0 / 475.4 MB, free: 10.12 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006107/0.1641, allocations: 433.1 kB / 475.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1642, allocations: 12.03 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.1642, allocations: 12.75 kB / 475.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1645, allocations: 227.8 kB / 476.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.1645, allocations: 8.375 kB / 476.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1646, allocations: 12.12 kB / 476.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1647, allocations: 77.53 kB / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1648, allocations: 0 / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1648, allocations: 0 / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1648, allocations: 0 / 476.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1649, allocations: 35.97 kB / 476.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.1654, allocations: 340.5 kB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.1656, allocations: 86.48 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.682e-05/0.1657, allocations: 28.84 kB / 476.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1657, allocations: 0 / 476.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.166, allocations: 75.38 kB / 476.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.166, allocations: 3.938 kB / 476.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008682/0.1668, allocations: 296.9 kB / 477 MB, free: 8.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1669, allocations: 55.41 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.1672, allocations: 243.2 kB / 477.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.1672, allocations: 33.7 kB / 477.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.1673, allocations: 116.1 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.1673, allocations: 39.52 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.1674, allocations: 17.72 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1675, allocations: 338.8 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.1676, allocations: 39.92 kB / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.315e-05/0.1677, allocations: 53.7 kB / 477.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.1679, allocations: 101.7 kB / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1679, allocations: 0 / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002769/0.1682, allocations: 160.4 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1682, allocations: 8.031 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1682, allocations: 3.984 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.005e-05/0.1682, allocations: 7.938 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.061e-05/0.1683, allocations: 20 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1684, allocations: 7.984 kB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.1684, allocations: 4 kB / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1684, allocations: 4 kB / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (16): * Single equations (assignments): 16 * 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.0001303/0.1686, allocations: 138.3 kB / 478.4 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.1686, allocations: 19.81 kB / 478.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.1687, allocations: 30.34 kB / 478.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.1687, allocations: 7.938 kB / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1687, allocations: 0 / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.1687, allocations: 0 / 478.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.1693, allocations: 0.4999 MB / 478.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1694, allocations: 4.062 kB / 478.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.1694, allocations: 19.98 kB / 479 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/0.1694, allocations: 4 kB / 479 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1694, allocations: 0 / 479 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1695, allocations: 7.938 kB / 479 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1695, allocations: 0 / 479 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.1698, allocations: 272.9 kB / 479.2 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.1699, allocations: 92.91 kB / 479.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.1699, allocations: 4 kB / 479.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.17, allocations: 8 kB / 479.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.1701, allocations: 11.98 kB / 479.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.1701, allocations: 8 kB / 479.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.1703, allocations: 188.2 kB / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1703, allocations: 0 / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.1706, allocations: 39.98 kB / 479.6 MB, free: 5.594 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001252/0.1719, allocations: 0.5117 MB / 480.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.1722, allocations: 99.89 kB / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.1722, allocations: 0 / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1723, allocations: 59.8 kB / 480.3 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1727, allocations: 28.17 kB / 480.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.1733, allocations: 359.9 kB / 480.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1737, allocations: 0.7243 MB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.564e-05/0.1738, allocations: 21.41 kB / 481.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.1739, allocations: 27.42 kB / 481.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1739, allocations: 0 / 481.4 MB, free: 3.918 MB / 350.1 MB Notification: Performance of Templates: time 0.005533/0.1794, allocations: 2.059 MB / 483.5 MB, free: 1.879 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches