Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 98.41 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.001243/0.001243, allocations: 178.3 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.462/1.462, 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.2576/0.2576, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004369, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002125/0.1524, allocations: 1.461 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1539, allocations: 0.8621 MB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.154, allocations: 7.938 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.1545, allocations: 287.4 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.1548, allocations: 187.6 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.1552, allocations: 153.8 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1554, allocations: 167.6 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.721e-05/0.1555, allocations: 17.55 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1556, allocations: 119.6 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.1558, allocations: 135.7 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1559, allocations: 4 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.057e-05/0.156, allocations: 31.92 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1561, allocations: 135.6 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.1562, allocations: 73.45 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.1565, allocations: 275.8 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1565, allocations: 0 / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.129e-06/0.1565, allocations: 0 / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1565, allocations: 0 / 475.3 MB, free: 9.832 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.000867/0.1574, allocations: 0.6764 MB / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1574, allocations: 8.562 kB / 476 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.1575, allocations: 47.44 kB / 476.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.1581, allocations: 431 kB / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1581, allocations: 0 / 476.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.1581, allocations: 4 kB / 476.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.1584, allocations: 95.25 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1584, allocations: 0 / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1584, allocations: 0 / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1584, allocations: 4 kB / 476.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1585, allocations: 31.97 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.1589, allocations: 374.4 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.1592, allocations: 105.3 kB / 477.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.1592, allocations: 0 / 477.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.1595, allocations: 121 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.1595, allocations: 0 / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005253/0.16, allocations: 200.9 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.1601, allocations: 77.11 kB / 477.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.1612, allocations: 1.03 MB / 478.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1613, allocations: 33.7 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.1614, allocations: 232.1 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.1615, allocations: 27.64 kB / 478.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.1615, allocations: 8 kB / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1617, allocations: 366.8 kB / 479.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.1618, allocations: 31.98 kB / 479.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.605e-05/0.1619, allocations: 51.42 kB / 479.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/0.1619, allocations: 35.92 kB / 479.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.162, allocations: 4 kB / 479.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002756/0.1622, allocations: 165 kB / 479.5 MB, free: 5.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1623, allocations: 15.88 kB / 479.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1623, allocations: 4.625 kB / 479.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1623, allocations: 0 / 479.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1624, allocations: 23.94 kB / 479.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1624, allocations: 3.984 kB / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.1625, allocations: 7.906 kB / 479.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1626, allocations: 16.06 kB / 479.5 MB, free: 5.391 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.0002117/0.1628, allocations: 221.7 kB / 479.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.496e-05/0.1628, allocations: 47.44 kB / 479.8 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.609e-05/0.1629, allocations: 63.95 kB / 479.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.163, allocations: 7.984 kB / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.163, allocations: 0 / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.163, allocations: 0 / 479.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.1633, allocations: 341.3 kB / 480.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1633, allocations: 0 / 480.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.1633, allocations: 19.94 kB / 480.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1633, allocations: 0 / 480.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1634, allocations: 7.984 kB / 480.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1634, allocations: 3.953 kB / 480.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1634, allocations: 0 / 480.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.1637, allocations: 207 kB / 480.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.1639, allocations: 148.4 kB / 480.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.1639, allocations: 7.953 kB / 480.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.164, allocations: 8 kB / 480.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.1641, allocations: 7.984 kB / 480.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1641, allocations: 4 kB / 480.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008171/0.1649, allocations: 0.7721 MB / 481.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1649, allocations: 0 / 481.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1652, allocations: 43.98 kB / 481.4 MB, free: 3.395 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.001059/0.1663, allocations: 416.4 kB / 481.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1665, allocations: 79.91 kB / 481.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1666, allocations: 0 / 481.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.1667, allocations: 35.92 kB / 481.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1671, allocations: 66.2 kB / 482 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.1684, allocations: 0.905 MB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.1689, allocations: 0.8585 MB / 483.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.1691, allocations: 50.95 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.1691, allocations: 35.42 kB / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1691, allocations: 0 / 483.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Templates: time 0.007531/0.1767, allocations: 3.388 MB / 487.2 MB, free: 13.69 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches