Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001396, allocations: 96.64 kB / 16.99 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.001329/0.001329, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.542/1.542, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2471/0.2471, allocations: 44.22 MB / 337.1 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 11.98 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1533, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002829/0.1562, allocations: 1.461 MB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1576, allocations: 0.8699 MB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1578, allocations: 7.938 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.1583, allocations: 283.4 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003739/0.1587, allocations: 199.6 kB / 474.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.1592, allocations: 146.2 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.1595, allocations: 163.6 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.1595, allocations: 9.562 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.1597, allocations: 115.6 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.1599, allocations: 139.6 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.16, allocations: 4 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1601, allocations: 27.94 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.1602, allocations: 143.6 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.1603, allocations: 77.45 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.1606, allocations: 271.8 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1607, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1607, allocations: 0 / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1607, allocations: 3.938 kB / 475.3 MB, free: 9.836 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001052/0.1617, allocations: 0.6764 MB / 476 MB, free: 9.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.1618, allocations: 8.562 kB / 476 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.1619, allocations: 47.42 kB / 476.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.1625, allocations: 435 kB / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1626, allocations: 0 / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1626, allocations: 4 kB / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.1628, allocations: 91.25 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1628, allocations: 0 / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1628, allocations: 0 / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1629, allocations: 4 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.163, allocations: 27.98 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.1634, allocations: 374.4 kB / 477 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.1636, allocations: 101.4 kB / 477.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1637, allocations: 7.984 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.164, allocations: 113 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.164, allocations: 0 / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000478/0.1645, allocations: 196.9 kB / 477.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.1645, allocations: 77.11 kB / 477.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1656, allocations: 1.038 MB / 478.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1657, allocations: 33.7 kB / 478.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.1658, allocations: 228.1 kB / 478.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.1659, allocations: 31.62 kB / 478.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1659, allocations: 4 kB / 478.8 MB, free: 6.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1661, allocations: 366.8 kB / 479.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.1662, allocations: 31.98 kB / 479.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/0.1662, allocations: 59.41 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.755e-05/0.1663, allocations: 40.42 kB / 479.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1664, allocations: 3.938 kB / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002711/0.1666, allocations: 165 kB / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1667, allocations: 7.953 kB / 479.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1667, allocations: 4 kB / 479.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1667, allocations: 4.062 kB / 479.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1668, allocations: 27.92 kB / 479.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.1668, allocations: 0 / 479.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.597e-05/0.1669, allocations: 7.906 kB / 479.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.167, allocations: 15.92 kB / 479.5 MB, free: 5.395 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 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002266/0.1672, allocations: 217.7 kB / 479.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/0.1673, allocations: 47.44 kB / 479.8 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.707e-05/0.1674, allocations: 59.95 kB / 479.8 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1674, allocations: 11.98 kB / 479.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1674, allocations: 0 / 479.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1674, allocations: 0 / 479.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.1677, allocations: 337.4 kB / 480.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1677, allocations: 0 / 480.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.583e-05/0.1678, allocations: 15.92 kB / 480.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.1678, allocations: 0 / 480.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1678, allocations: 8 kB / 480.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1678, allocations: 3.953 kB / 480.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1678, allocations: 0 / 480.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.1682, allocations: 215 kB / 480.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.1684, allocations: 140.4 kB / 480.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.1684, allocations: 7.953 kB / 480.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.1685, allocations: 12.11 kB / 480.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.1685, allocations: 7.984 kB / 480.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.1686, allocations: 12 kB / 480.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008829/0.1695, allocations: 0.7721 MB / 481.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1695, allocations: 0 / 481.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.1698, allocations: 40 kB / 481.4 MB, free: 3.402 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000983/0.1708, allocations: 412.6 kB / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1711, allocations: 83.89 kB / 481.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1711, allocations: 4.125 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1712, allocations: 35.92 kB / 481.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1716, allocations: 66.7 kB / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1728, allocations: 0.9049 MB / 482.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.1733, allocations: 0.8507 MB / 483.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001282/0.1734, allocations: 62.94 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.1735, allocations: 31.44 kB / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1735, allocations: 0 / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of Templates: time 0.006859/0.1804, allocations: 3.38 MB / 487.2 MB, free: 13.7 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches