Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001379, allocations: 96.56 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.001476/0.001476, allocations: 179.8 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.448/1.448, allocations: 223.3 MB / 241.9 MB, free: 304 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.2229/0.2229, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003533, allocations: 8.219 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003875/0.1563, allocations: 1.386 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.1585, allocations: 0.8036 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.1587, allocations: 0 / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.1592, allocations: 31.89 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.1595, allocations: 55.77 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.16, allocations: 86.95 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1603, allocations: 83.7 kB / 474.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1604, allocations: 8.234 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1606, allocations: 43.77 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.1607, allocations: 23.86 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.1608, allocations: 4 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.1609, allocations: 31.98 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.01e-05/0.161, allocations: 23.91 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.1611, allocations: 37.64 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1614, allocations: 84.11 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.1614, allocations: 0 / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1614, allocations: 0 / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.1615, allocations: 3.938 kB / 474.3 MB, free: 10.96 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.0008803/0.1623, allocations: 394.9 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.1624, allocations: 12.03 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.08e-05/0.1625, allocations: 11.91 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1629, allocations: 202.8 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1629, allocations: 4 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.1629, allocations: 3.984 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.1632, allocations: 61.56 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1632, allocations: 0 / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1632, allocations: 4 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1632, allocations: 0 / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1633, allocations: 19.98 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.1639, allocations: 292.9 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.1642, allocations: 58.61 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.1643, allocations: 24.84 kB / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.1643, allocations: 0 / 475.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.1646, allocations: 67.39 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.1646, allocations: 0 / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007896/0.1654, allocations: 177.2 kB / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.1655, allocations: 51.41 kB / 475.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.1657, allocations: 186.2 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1658, allocations: 25.7 kB / 475.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.1659, allocations: 100.1 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.1659, allocations: 27.64 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.166, allocations: 4 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1662, allocations: 330.8 kB / 476.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.1663, allocations: 16 kB / 476.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.1664, allocations: 41.58 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.702e-05/0.1665, allocations: 27.98 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1665, allocations: 0 / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002657/0.1667, allocations: 101.4 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1668, allocations: 10.5 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1668, allocations: 0 / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1668, allocations: 0 / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1669, allocations: 19.98 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.167, allocations: 0 / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.167, allocations: 4.188 kB / 476.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1671, allocations: 4 kB / 476.5 MB, free: 8.5 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.0001403/0.1672, allocations: 130.2 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.1673, allocations: 15.94 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.1673, allocations: 12.88 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1673, allocations: 0 / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1673, allocations: 0 / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1673, allocations: 3.984 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.168, allocations: 399.3 kB / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.168, allocations: 0 / 477.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.1681, allocations: 11.94 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1681, allocations: 4.031 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.1681, allocations: 4 kB / 477.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1681, allocations: 0 / 477.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1681, allocations: 384 / 477.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.1685, allocations: 212.1 kB / 477.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.923e-05/0.1686, allocations: 89.02 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.1686, allocations: 0 / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1688, allocations: 12 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.1688, allocations: 7.984 kB / 477.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.1689, allocations: 7.938 kB / 477.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.1691, allocations: 147.2 kB / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1691, allocations: 0 / 477.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000458/0.1696, allocations: 24 kB / 477.6 MB, free: 7.332 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.001646/0.1712, allocations: 472.3 kB / 478.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.1715, allocations: 59.91 kB / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1715, allocations: 0 / 478.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1716, allocations: 23.98 kB / 478.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.1722, allocations: 36 kB / 478.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.1729, allocations: 234.4 kB / 478.4 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.1734, allocations: 0.7121 MB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.102e-05/0.1734, allocations: 17.12 kB / 479.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.1735, allocations: 19.42 kB / 479.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1735, allocations: 0 / 479.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of Templates: time 0.006334/0.1799, allocations: 1.582 MB / 480.7 MB, free: 4.324 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches