Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 108.9 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.001541/0.001541, 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.491/1.491, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.229/0.229, allocations: 44.17 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.89 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1522, allocations: 60.82 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003291/0.1555, allocations: 1.756 MB / 470.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.1579, allocations: 1.456 MB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.158, allocations: 0 / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.1584, allocations: 43.78 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.1585, allocations: 47.83 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1588, allocations: 95.02 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.159, allocations: 91.75 kB / 472 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.1591, allocations: 12.23 kB / 472 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.628e-05/0.1592, allocations: 39.78 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1593, allocations: 31.84 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1593, allocations: 7.938 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1595, allocations: 55.97 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.1595, allocations: 23.91 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.1596, allocations: 23.81 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.1599, allocations: 119.9 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1599, allocations: 0 / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1599, allocations: 4 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1599, allocations: 0 / 472.3 MB, free: 11.01 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005988/0.1605, allocations: 397.8 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1606, allocations: 12.03 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.1606, allocations: 8.844 kB / 472.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1609, allocations: 212 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1609, allocations: 4.312 kB / 472.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.161, allocations: 8.125 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1611, allocations: 71.38 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1612, allocations: 4 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1612, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1612, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.1613, allocations: 23.98 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.1617, allocations: 276.8 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1618, allocations: 58.69 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.1619, allocations: 20.84 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1619, allocations: 4 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.1622, allocations: 71.33 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1622, allocations: 0 / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005717/0.1627, allocations: 181.2 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.1628, allocations: 85.05 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.163, allocations: 145.8 kB / 473.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.163, allocations: 29.69 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.1631, allocations: 92.14 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1631, allocations: 23.7 kB / 474 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.1631, allocations: 29.66 kB / 474 MB, free: 9.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1633, allocations: 330.8 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-05/0.1633, allocations: 15.98 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.1634, allocations: 46.56 kB / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.1635, allocations: 61.64 kB / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1636, allocations: 0 / 474.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001808/0.1637, allocations: 97.58 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1638, allocations: 8.062 kB / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1638, allocations: 0 / 474.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1638, allocations: 4 kB / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.1639, allocations: 19.92 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1639, allocations: 0 / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.164, allocations: 11.88 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.164, allocations: 0 / 474.6 MB, free: 8.457 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 (10): * Single equations (assignments): 10 * 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.0001067/0.1641, allocations: 125.8 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.1641, allocations: 7.906 kB / 474.8 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.1642, allocations: 20.7 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1642, allocations: 3.938 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1642, allocations: 4 kB / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1642, allocations: 3.938 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.1647, allocations: 383.3 kB / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1647, allocations: 0 / 475.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.1648, allocations: 15.98 kB / 475.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1648, allocations: 0 / 475.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1648, allocations: 7.969 kB / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1648, allocations: 4 kB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1648, allocations: 4.312 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.165, allocations: 204.4 kB / 475.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1651, allocations: 81.02 kB / 475.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.1651, allocations: 11.92 kB / 475.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.1652, allocations: 8 kB / 475.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1653, allocations: 4 kB / 475.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1653, allocations: 11.98 kB / 475.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.502e-05/0.1654, allocations: 114 kB / 475.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1654, allocations: 0 / 475.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1657, allocations: 31.98 kB / 475.7 MB, free: 7.324 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001221/0.1669, allocations: 0.4896 MB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.1671, allocations: 59.97 kB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1671, allocations: 0 / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.1672, allocations: 31.92 kB / 476.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1675, allocations: 31.91 kB / 476.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.168, allocations: 212.7 kB / 476.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1683, allocations: 0.6926 MB / 477.2 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.211e-05/0.1684, allocations: 17.17 kB / 477.2 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.1684, allocations: 19.42 kB / 477.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1684, allocations: 4 kB / 477.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of Templates: time 0.004892/0.1733, allocations: 1.894 MB / 479.1 MB, free: 4.027 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches