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.00105/0.001051, allocations: 95.16 kB / 17.35 MB, free: 6.371 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.001052/0.001052, allocations: 179.3 kB / 18.26 MB, free: 5.52 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.61/1.61, allocations: 223.2 MB / 242.3 MB, free: 204 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.2348/0.2348, allocations: 44.25 MB / 337.7 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 8.281 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 61.92 MB / 472.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00292/0.1597, allocations: 1.503 MB / 473.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1616, allocations: 0.9317 MB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.584e-05/0.1617, allocations: 4 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.1623, allocations: 295.4 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.1628, allocations: 195.5 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.1632, allocations: 150.4 kB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.1636, allocations: 239.4 kB / 475.6 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.1637, allocations: 13.55 kB / 475.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.1639, allocations: 119.6 kB / 475.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.1642, allocations: 191.5 kB / 475.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.1642, allocations: 7.938 kB / 475.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1644, allocations: 35.98 kB / 475.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.1646, allocations: 131.6 kB / 476 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.1647, allocations: 172.5 kB / 476.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004642/0.1652, allocations: 350.9 kB / 476.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1652, allocations: 3.938 kB / 476.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1652, allocations: 3.938 kB / 476.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1652, allocations: 0 / 476.6 MB, free: 8.984 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.001041/0.1663, allocations: 0.6689 MB / 477.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1664, allocations: 8.031 kB / 477.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.994e-05/0.1665, allocations: 44.38 kB / 477.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/0.1671, allocations: 451.8 kB / 477.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1671, allocations: 4.375 kB / 477.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1671, allocations: 8.125 kB / 477.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.1674, allocations: 91.3 kB / 477.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1674, allocations: 0 / 477.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1674, allocations: 3.938 kB / 477.8 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1674, allocations: 4 kB / 477.8 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1676, allocations: 27.98 kB / 477.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.168, allocations: 366.4 kB / 478.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.1683, allocations: 109.2 kB / 478.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1684, allocations: 49.61 kB / 478.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1685, allocations: 4 kB / 478.4 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002804/0.1687, allocations: 109 kB / 478.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1687, allocations: 0 / 478.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005171/0.1693, allocations: 200.9 kB / 478.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.1693, allocations: 81.11 kB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.1705, allocations: 1.03 MB / 479.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.1705, allocations: 37.7 kB / 479.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.1707, allocations: 224.1 kB / 480.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.498e-05/0.1708, allocations: 35.62 kB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1708, allocations: 17.72 kB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.171, allocations: 370.8 kB / 480.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.1711, allocations: 27.98 kB / 480.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1712, allocations: 55.36 kB / 480.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.1715, allocations: 95.91 kB / 480.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1715, allocations: 0 / 480.6 MB, free: 4.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002938/0.1718, allocations: 168.8 kB / 480.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1718, allocations: 8 kB / 480.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1718, allocations: 0 / 480.8 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/0.1719, allocations: 8.062 kB / 480.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.172, allocations: 23.92 kB / 480.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.172, allocations: 0 / 480.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1721, allocations: 19.83 kB / 480.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1721, allocations: 8 kB / 480.9 MB, free: 4.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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002616/0.1724, allocations: 222.2 kB / 481.1 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.1725, allocations: 47.42 kB / 481.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.915e-05/0.1726, allocations: 64 kB / 481.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1726, allocations: 4 kB / 481.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.1726, allocations: 0 / 481.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1726, allocations: 4 kB / 481.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.173, allocations: 337.3 kB / 481.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.173, allocations: 7.938 kB / 481.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1731, allocations: 7.984 kB / 481.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1731, allocations: 0 / 481.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1731, allocations: 4 kB / 481.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1731, allocations: 0 / 481.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1731, allocations: 3.938 kB / 481.6 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.1735, allocations: 205.2 kB / 481.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.1736, allocations: 144.6 kB / 481.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.1737, allocations: 4 kB / 481.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.1738, allocations: 11.98 kB / 481.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.1738, allocations: 7.984 kB / 481.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.1739, allocations: 8 kB / 481.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009023/0.1748, allocations: 0.7682 MB / 482.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1748, allocations: 0 / 482.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1751, allocations: 43.98 kB / 482.7 MB, free: 2.422 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/0.1762, allocations: 416.6 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.1765, allocations: 75.91 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1765, allocations: 4 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1766, allocations: 48.34 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.1771, allocations: 78.14 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.1784, allocations: 0.9556 MB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1789, allocations: 0.8468 MB / 485.2 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.179, allocations: 50.95 kB / 485.2 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.1791, allocations: 35.42 kB / 485.2 MB, free: 24 kB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1791, allocations: 0 / 485.2 MB, free: 24 kB / 350.1 MB Notification: Performance of Templates: time 0.008163/0.1873, allocations: 3.462 MB / 488.7 MB, free: 12.59 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches