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.0008526/0.0008526, allocations: 90.92 kB / 17.35 MB, free: 6.027 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.000852/0.0008521, allocations: 172.8 kB / 18.25 MB, free: 5.395 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.558/1.558, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2262/0.2262, allocations: 44.24 MB / 337.7 MB, free: 2.445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004312, allocations: 12 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.153, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002507/0.1555, allocations: 1.588 MB / 473.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1573, allocations: 0.9629 MB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.1574, allocations: 0 / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.1579, allocations: 251.4 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.1583, allocations: 159.5 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.1587, allocations: 178.6 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.1591, allocations: 235.4 kB / 475.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1592, allocations: 29.66 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1594, allocations: 123.4 kB / 475.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.1597, allocations: 175.5 kB / 475.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1597, allocations: 4 kB / 475.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.1598, allocations: 55.98 kB / 476 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.16, allocations: 71.69 kB / 476.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1601, allocations: 109 kB / 476.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.1605, allocations: 227.4 kB / 476.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.1605, allocations: 4 kB / 476.4 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1605, allocations: 4 kB / 476.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1605, allocations: 0 / 476.4 MB, free: 9.172 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.0008657/0.1614, allocations: 0.5331 MB / 476.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.1614, allocations: 12.03 kB / 476.9 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.1615, allocations: 32.56 kB / 477 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.1619, allocations: 280.1 kB / 477.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1619, allocations: 4.359 kB / 477.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.162, allocations: 16.12 kB / 477.3 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.1622, allocations: 118.5 kB / 477.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1623, allocations: 3.906 kB / 477.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.1623, allocations: 0 / 477.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1623, allocations: 4 kB / 477.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1625, allocations: 43.97 kB / 477.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006713/0.1631, allocations: 488.6 kB / 477.9 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.1635, allocations: 117.2 kB / 478 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.1637, allocations: 53.75 kB / 478.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1637, allocations: 4 kB / 478.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.164, allocations: 117.1 kB / 478.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.164, allocations: 0 / 478.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001354/0.1654, allocations: 0.5045 MB / 478.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.1655, allocations: 81.11 kB / 478.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.1659, allocations: 481.7 kB / 479.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.166, allocations: 29.7 kB / 479.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1661, allocations: 160.5 kB / 479.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.1662, allocations: 74.98 kB / 479.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.1662, allocations: 25.7 kB / 479.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1664, allocations: 346.8 kB / 479.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1665, allocations: 59.97 kB / 479.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1667, allocations: 87.34 kB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.1669, allocations: 163.3 kB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.167, allocations: 4 kB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003924/0.1674, allocations: 237.2 kB / 480.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.1674, allocations: 11.94 kB / 480.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1674, allocations: 3.984 kB / 480.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1674, allocations: 0 / 480.4 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1676, allocations: 39.98 kB / 480.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.1676, allocations: 7.938 kB / 480.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.1677, allocations: 11.98 kB / 480.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1677, allocations: 16.05 kB / 480.5 MB, free: 4.785 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.0001726/0.1679, allocations: 174.3 kB / 480.7 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.1679, allocations: 35.56 kB / 480.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.168, allocations: 46.81 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1681, allocations: 0 / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.1681, allocations: 4 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1681, allocations: 3.984 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.169, allocations: 0.7349 MB / 481.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1691, allocations: 4 kB / 481.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.1692, allocations: 31.92 kB / 481.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1692, allocations: 0 / 481.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.1692, allocations: 11.98 kB / 481.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1692, allocations: 8.125 kB / 481.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1692, allocations: 4 kB / 481.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.1697, allocations: 421.7 kB / 482 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1698, allocations: 112.7 kB / 482.1 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.1699, allocations: 8 kB / 482.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.17, allocations: 7.984 kB / 482.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.1701, allocations: 19.92 kB / 482.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.1701, allocations: 11.98 kB / 482.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003879/0.1705, allocations: 359.1 kB / 482.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1705, allocations: 4 kB / 482.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003869/0.1709, allocations: 55.98 kB / 482.5 MB, free: 2.629 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.001284/0.1722, allocations: 0.5115 MB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.1726, allocations: 151.8 kB / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1726, allocations: 0 / 483.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.1728, allocations: 88.22 kB / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.1734, allocations: 61.33 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1744, allocations: 0.6639 MB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1748, allocations: 0.7809 MB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1749, allocations: 37.94 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.175, allocations: 35.42 kB / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.175, allocations: 0 / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of Templates: time 0.007519/0.1825, allocations: 2.951 MB / 487.8 MB, free: 13.52 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