Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 90.73 kB / 16.98 MB, free: 6.398 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.001403/0.001403, allocations: 183.9 kB / 17.87 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.564/1.564, allocations: 223.2 MB / 241.8 MB, free: 396 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.2521/0.2521, allocations: 44.23 MB / 337.1 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 16 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1521, allocations: 61.93 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002504/0.1547, allocations: 1.457 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1564, allocations: 0.8622 MB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.1565, allocations: 3.938 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.1571, allocations: 291.4 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.1575, allocations: 187.6 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.1579, allocations: 147.6 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1581, allocations: 163.6 kB / 474.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.507e-05/0.1582, allocations: 9.562 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1584, allocations: 119.5 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.1586, allocations: 143.7 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.1586, allocations: 4 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-05/0.1587, allocations: 31.92 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.1589, allocations: 131.6 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.721e-05/0.1589, allocations: 81.45 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000311/0.1593, allocations: 271.8 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1593, allocations: 0 / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1593, allocations: 0 / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1593, allocations: 0 / 475.3 MB, free: 9.875 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.0009284/0.1602, allocations: 0.6764 MB / 476 MB, free: 9.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1603, allocations: 8.562 kB / 476 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.1604, allocations: 43.44 kB / 476.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/0.161, allocations: 431 kB / 476.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1611, allocations: 0 / 476.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.1611, allocations: 4 kB / 476.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.1613, allocations: 95.25 kB / 476.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1613, allocations: 3.984 kB / 476.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1613, allocations: 0 / 476.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1613, allocations: 4 kB / 476.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.1615, allocations: 27.97 kB / 476.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.162, allocations: 374.4 kB / 477 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.1623, allocations: 109.3 kB / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1623, allocations: 0 / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002881/0.1626, allocations: 109.1 kB / 477.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1626, allocations: 4 kB / 477.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004793/0.1631, allocations: 201.3 kB / 477.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.1632, allocations: 77.11 kB / 477.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.1645, allocations: 1.034 MB / 478.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.1645, allocations: 29.7 kB / 478.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.1647, allocations: 232.1 kB / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/0.1648, allocations: 27.64 kB / 478.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.1648, allocations: 4 kB / 478.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.1651, allocations: 370.8 kB / 479.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.1652, allocations: 31.98 kB / 479.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.366e-05/0.1653, allocations: 54.3 kB / 479.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.99e-05/0.1654, allocations: 47.98 kB / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1654, allocations: 0 / 479.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002717/0.1656, allocations: 165 kB / 479.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1657, allocations: 15.88 kB / 479.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1657, allocations: 0 / 479.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1657, allocations: 4 kB / 479.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1658, allocations: 19.94 kB / 479.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1659, allocations: 7.984 kB / 479.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-05/0.1659, allocations: 11.91 kB / 479.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.166, allocations: 4 kB / 479.5 MB, free: 5.441 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.0002227/0.1662, allocations: 229.8 kB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.1663, allocations: 47.44 kB / 479.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.304e-05/0.1663, allocations: 59.95 kB / 479.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1664, allocations: 4 kB / 479.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1664, allocations: 0 / 479.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1664, allocations: 0 / 479.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.1667, allocations: 345.3 kB / 480.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1667, allocations: 0 / 480.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.575e-05/0.1668, allocations: 11.94 kB / 480.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1668, allocations: 4 kB / 480.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1668, allocations: 3.984 kB / 480.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.1668, allocations: 7.953 kB / 480.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1668, allocations: 0 / 480.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.1671, allocations: 207.2 kB / 480.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.1673, allocations: 148.4 kB / 480.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.1674, allocations: 11.95 kB / 480.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.1675, allocations: 4 kB / 480.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.1675, allocations: 7.984 kB / 480.6 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.1676, allocations: 8 kB / 480.6 MB, free: 4.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008495/0.1684, allocations: 0.7682 MB / 481.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1684, allocations: 0 / 481.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1687, allocations: 43.98 kB / 481.4 MB, free: 3.445 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.001102/0.1698, allocations: 414.9 kB / 481.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.1701, allocations: 76.03 kB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1701, allocations: 0 / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.1702, allocations: 48.03 kB / 481.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1706, allocations: 66.2 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1719, allocations: 0.905 MB / 482.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.1724, allocations: 0.8585 MB / 483.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.1726, allocations: 54.95 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.1727, allocations: 35.36 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1727, allocations: 0 / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of Templates: time 0.007634/0.1803, allocations: 3.381 MB / 487.2 MB, free: 13.73 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches