Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 177.8 kB / 17.06 MB, free: 5.094 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.347/1.347, 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.0009048/0.0009049, allocations: 98.53 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.4328/0.4328, allocations: 44.21 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 12 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4023, allocations: 61.91 MB / 0.5096 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.5354, allocations: 89.97 MB / 0.5974 GB, free: 5.152 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.5357, allocations: 83.92 kB / 0.5975 GB, free: 5.074 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03191/0.5676, allocations: 12.43 MB / 0.6097 GB, free: 8.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5677, allocations: 3.938 kB / 0.6097 GB, free: 8.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.18e-05/0.5677, allocations: 12 kB / 0.6097 GB, free: 8.609 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001103/0.5688, allocations: 0.7714 MB / 0.6104 GB, free: 7.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.5689, allocations: 8.031 kB / 0.6104 GB, free: 7.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.569, allocations: 63.23 kB / 0.6105 GB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.5697, allocations: 430.8 kB / 0.6109 GB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.5698, allocations: 11.95 kB / 0.6109 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.5698, allocations: 20 kB / 0.6109 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.5702, allocations: 201.4 kB / 0.6111 GB, free: 7.008 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.5702, allocations: 3.984 kB / 0.6111 GB, free: 7.004 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.5702, allocations: 4 kB / 0.6111 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.5703, allocations: 4 kB / 0.6111 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.5705, allocations: 103.9 kB / 0.6112 GB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.5716, allocations: 0.838 MB / 0.612 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.5722, allocations: 246.5 kB / 0.6123 GB, free: 5.719 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.5722, allocations: 7.984 kB / 0.6123 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.5726, allocations: 213.2 kB / 0.6125 GB, free: 5.473 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.053e-06/0.5726, allocations: 0 / 0.6125 GB, free: 5.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002356/0.5749, allocations: 1.11 MB / 0.6136 GB, free: 4.352 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.575, allocations: 136.5 kB / 0.6137 GB, free: 4.188 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007914/0.5758, allocations: 0.674 MB / 0.6144 GB, free: 3.504 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.5759, allocations: 37.7 kB / 0.6144 GB, free: 3.461 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.576, allocations: 248.8 kB / 0.6146 GB, free: 3.215 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.5762, allocations: 138.1 kB / 0.6148 GB, free: 3.078 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.5762, allocations: 8 kB / 0.6148 GB, free: 3.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5763, allocations: 374.7 kB / 0.6151 GB, free: 2.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.5766, allocations: 120.8 kB / 0.6153 GB, free: 2.578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.5768, allocations: 191.1 kB / 0.6154 GB, free: 2.371 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.5771, allocations: 132.4 kB / 0.6156 GB, free: 2.242 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5771, allocations: 0 / 0.6156 GB, free: 2.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006742/0.5778, allocations: 440.9 kB / 0.616 GB, free: 1.805 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.5778, allocations: 8 kB / 0.616 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.5778, allocations: 3.984 kB / 0.616 GB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5778, allocations: 4 kB / 0.616 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.5781, allocations: 91.84 kB / 0.6161 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.5781, allocations: 11.92 kB / 0.6161 GB, free: 1.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.5783, allocations: 16 kB / 0.6161 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.5783, allocations: 24.11 kB / 0.6161 GB, free: 1.648 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002722/0.5786, allocations: 230.7 kB / 0.6164 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.878e-05/0.5787, allocations: 71.23 kB / 0.6164 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009056/0.5796, allocations: 0.5138 MB / 0.6169 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.5796, allocations: 8 kB / 0.6169 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.5796, allocations: 4 kB / 0.6169 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.5797, allocations: 3.984 kB / 0.6169 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.5815, allocations: 1.416 MB / 0.6183 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5815, allocations: 4.375 kB / 0.6183 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.5817, allocations: 71.86 kB / 0.6184 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.5817, allocations: 8.25 kB / 0.6184 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.5817, allocations: 15.98 kB / 0.6184 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5817, allocations: 11.94 kB / 0.6184 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.5817, allocations: 3.938 kB / 0.6184 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/0.5827, allocations: 0.9283 MB / 0.6193 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.583, allocations: 212.3 kB / 0.6195 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.583, allocations: 23.94 kB / 0.6196 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.5833, allocations: 23.98 kB / 0.6196 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.5834, allocations: 35.95 kB / 0.6196 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.5835, allocations: 23.98 kB / 0.6196 GB, free: 13.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005953/0.5841, allocations: 0.5417 MB / 0.6202 GB, free: 13.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5841, allocations: 4 kB / 0.6202 GB, free: 13.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005451/0.5846, allocations: 119.8 kB / 0.6203 GB, free: 13.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001209/0.5858, allocations: 0.5421 MB / 0.6208 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006394/0.5865, allocations: 338.5 kB / 0.6211 GB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5865, allocations: 4.25 kB / 0.6211 GB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.5868, allocations: 171.7 kB / 0.6213 GB, free: 12.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.5874, allocations: 116.4 kB / 0.6214 GB, free: 12.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.5889, allocations: 1.191 MB / 0.6226 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.5894, allocations: 0.8905 MB / 0.6235 GB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002285/0.5896, allocations: 103.2 kB / 0.6236 GB, free: 9.945 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.5898, allocations: 51.42 kB / 0.6236 GB, free: 9.895 MB / 442.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5898, allocations: 4 kB / 0.6236 GB, free: 9.891 MB / 442.7 MB Notification: Performance of Templates: time 0.01045/0.6002, allocations: 5.582 MB / 0.6291 GB, free: 4.355 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches