Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 96.47 kB / 17 MB, free: 6.402 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.001186/0.001186, allocations: 180.2 kB / 17.89 MB, free: 5.945 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.457/1.457, allocations: 223.3 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2209/0.2209, allocations: 44.26 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 12 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1601, allocations: 61.93 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002485/0.1627, allocations: 1.394 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.1642, allocations: 0.7998 MB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.1643, allocations: 0 / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.1647, allocations: 51.86 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.165, allocations: 55.75 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.1654, allocations: 95.39 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.1656, allocations: 83.7 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1657, allocations: 12.22 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1658, allocations: 43.78 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.1659, allocations: 31.84 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1659, allocations: 4 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1661, allocations: 24 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.1661, allocations: 31.89 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.1662, allocations: 49.62 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1664, allocations: 92.08 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1664, allocations: 4 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1664, allocations: 7.938 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1664, allocations: 0 / 474.4 MB, free: 10.88 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.0006103/0.167, allocations: 426.6 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1671, allocations: 12.03 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.1671, allocations: 7.906 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1674, allocations: 206.8 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1674, allocations: 4 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1675, allocations: 8 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1676, allocations: 57.62 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1676, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1677, allocations: 4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.1677, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.1677, allocations: 23.92 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1682, allocations: 296.9 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1683, allocations: 58.69 kB / 475.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.1684, allocations: 20.84 kB / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1684, allocations: 0 / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.1686, allocations: 71.33 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1686, allocations: 0 / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005526/0.1692, allocations: 185 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.1692, allocations: 59.41 kB / 475.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.1695, allocations: 258.3 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.1695, allocations: 29.7 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.1696, allocations: 112.1 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.1696, allocations: 23.7 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.1697, allocations: 4 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1698, allocations: 326.8 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.971e-05/0.1699, allocations: 23.98 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-05/0.1699, allocations: 41.64 kB / 476.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.699e-05/0.17, allocations: 20 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.17, allocations: 0 / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001857/0.1702, allocations: 113.4 kB / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1702, allocations: 6.5 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1702, allocations: 0 / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1702, allocations: 0 / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.1703, allocations: 16.03 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.1704, allocations: 8.125 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.1704, allocations: 7.984 kB / 476.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.1704, allocations: 3.938 kB / 476.8 MB, free: 8.266 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.1706, allocations: 142.2 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.1706, allocations: 15.81 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.1706, allocations: 21.56 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1707, allocations: 0 / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1707, allocations: 0 / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1707, allocations: 7.984 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.1711, allocations: 403.6 kB / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1711, allocations: 0 / 477.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.1712, allocations: 15.98 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1712, allocations: 0 / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1712, allocations: 4 kB / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1712, allocations: 0 / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1712, allocations: 0 / 477.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.1715, allocations: 216.1 kB / 477.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.1715, allocations: 92.91 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.1716, allocations: 4 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.1717, allocations: 4 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.1717, allocations: 11.97 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1717, allocations: 0 / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.1719, allocations: 200.5 kB / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1719, allocations: 0 / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1722, allocations: 27.98 kB / 477.9 MB, free: 7.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/0.1732, allocations: 465.2 kB / 478.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1734, allocations: 55.92 kB / 478.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1735, allocations: 0 / 478.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.1735, allocations: 39.86 kB / 478.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.1739, allocations: 27.92 kB / 478.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.1744, allocations: 295.1 kB / 478.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1748, allocations: 0.7238 MB / 479.5 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.151e-05/0.1748, allocations: 17.12 kB / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.1749, allocations: 19.42 kB / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1749, allocations: 0 / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of Templates: time 0.004803/0.1797, allocations: 1.614 MB / 481.1 MB, free: 3.91 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches