Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 176.6 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 100.3 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4624/0.4624, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 12 kB / 459.9 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4156, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.5424, allocations: 89.56 MB / 0.597 GB, free: 5.574 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.5427, allocations: 79.94 kB / 0.5971 GB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02241/0.5651, allocations: 8.416 MB / 0.6053 GB, free: 13.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5651, allocations: 0 / 0.6053 GB, free: 13.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.5651, allocations: 11.88 kB / 0.6053 GB, free: 13.06 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008149/0.566, allocations: 0.5603 MB / 0.6059 GB, free: 12.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.566, allocations: 11.97 kB / 0.6059 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.5661, allocations: 39.61 kB / 0.6059 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.5666, allocations: 306.9 kB / 0.6062 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.5667, allocations: 8 kB / 0.6062 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.5667, allocations: 7.906 kB / 0.6062 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.567, allocations: 109.5 kB / 0.6063 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.567, allocations: 0 / 0.6063 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.567, allocations: 8 kB / 0.6063 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.567, allocations: 0 / 0.6063 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.5672, allocations: 59.89 kB / 0.6064 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007163/0.5679, allocations: 0.4891 MB / 0.6069 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.5683, allocations: 133.1 kB / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.5684, allocations: 128 / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.5686, allocations: 126.6 kB / 0.6071 GB, free: 11.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.5686, allocations: 0 / 0.6071 GB, free: 11.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001444/0.5701, allocations: 0.5122 MB / 0.6076 GB, free: 10.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.5702, allocations: 85.09 kB / 0.6077 GB, free: 10.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.5707, allocations: 432.8 kB / 0.6081 GB, free: 9.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.5707, allocations: 33.7 kB / 0.6082 GB, free: 9.941 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.5709, allocations: 160.5 kB / 0.6083 GB, free: 9.781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/0.5709, allocations: 70.98 kB / 0.6084 GB, free: 9.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.571, allocations: 8 kB / 0.6084 GB, free: 9.703 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5711, allocations: 350.8 kB / 0.6087 GB, free: 9.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.5713, allocations: 59.97 kB / 0.6088 GB, free: 9.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.5714, allocations: 93.8 kB / 0.6089 GB, free: 9.191 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.5716, allocations: 63.94 kB / 0.6089 GB, free: 9.129 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5716, allocations: 4 kB / 0.6089 GB, free: 9.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003853/0.572, allocations: 233.5 kB / 0.6092 GB, free: 8.891 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.572, allocations: 7.953 kB / 0.6092 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.572, allocations: 4 kB / 0.6092 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.572, allocations: 0 / 0.6092 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.5722, allocations: 51.91 kB / 0.6092 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.5722, allocations: 0 / 0.6092 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.5723, allocations: 8 kB / 0.6092 GB, free: 8.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.5723, allocations: 8.062 kB / 0.6092 GB, free: 8.812 MB / 426.7 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001671/0.5725, allocations: 182.2 kB / 0.6094 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.5725, allocations: 35.53 kB / 0.6094 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.573, allocations: 296.4 kB / 0.6097 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5731, allocations: 0 / 0.6097 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5731, allocations: 4 kB / 0.6097 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5731, allocations: 0 / 0.6097 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.5741, allocations: 0.8091 MB / 0.6105 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5742, allocations: 4 kB / 0.6105 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.189e-05/0.5742, allocations: 31.92 kB / 0.6105 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.5743, allocations: 8.125 kB / 0.6106 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.5743, allocations: 8 kB / 0.6106 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5743, allocations: 4 kB / 0.6106 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5743, allocations: 4 kB / 0.6106 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.5748, allocations: 0.4899 MB / 0.611 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.575, allocations: 128.7 kB / 0.6112 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.575, allocations: 8 kB / 0.6112 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.5752, allocations: 19.98 kB / 0.6112 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.5752, allocations: 15.98 kB / 0.6112 GB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.5753, allocations: 11.98 kB / 0.6112 GB, free: 6.602 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003931/0.5757, allocations: 351.1 kB / 0.6116 GB, free: 6.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5757, allocations: 0 / 0.6116 GB, free: 6.262 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000409/0.5761, allocations: 79.86 kB / 0.6116 GB, free: 6.184 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001351/0.5775, allocations: 0.5228 MB / 0.6121 GB, free: 5.867 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004345/0.5779, allocations: 171.6 kB / 0.6123 GB, free: 5.699 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5779, allocations: 4 kB / 0.6123 GB, free: 5.695 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.5781, allocations: 83.84 kB / 0.6124 GB, free: 5.613 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.5786, allocations: 61.7 kB / 0.6125 GB, free: 5.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.5796, allocations: 0.6707 MB / 0.6131 GB, free: 4.836 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.58, allocations: 0.7901 MB / 0.6139 GB, free: 4.023 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.5802, allocations: 57.91 kB / 0.6139 GB, free: 3.965 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.5802, allocations: 35.42 kB / 0.614 GB, free: 3.93 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5803, allocations: 0 / 0.614 GB, free: 3.93 MB / 426.7 MB Notification: Performance of Templates: time 0.006933/0.5872, allocations: 3.374 MB / 0.6173 GB, free: 0.5938 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches