Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 226.5 MB / 245.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008868/0.0008863, allocations: 102.1 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3837/0.3837, allocations: 44.81 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003232, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4041, allocations: 62.96 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.5374, allocations: 90.48 MB / 0.6068 GB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5378, allocations: 83.94 kB / 0.6069 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01963/0.5574, allocations: 7.623 MB / 0.6143 GB, free: 7.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5574, allocations: 0 / 0.6143 GB, free: 7.098 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.114e-05/0.5575, allocations: 11.94 kB / 0.6143 GB, free: 7.086 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001108/0.5586, allocations: 0.7543 MB / 0.6151 GB, free: 6.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5586, allocations: 8.031 kB / 0.6151 GB, free: 6.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.5588, allocations: 52.28 kB / 0.6151 GB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008264/0.5596, allocations: 0.5192 MB / 0.6156 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.5596, allocations: 384 / 0.6156 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.5597, allocations: 4.375 kB / 0.6156 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.5598, allocations: 91.86 kB / 0.6157 GB, free: 5.555 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5599, allocations: 4.188 kB / 0.6157 GB, free: 5.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.5599, allocations: 7.875 kB / 0.6157 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.5599, allocations: 0 / 0.6157 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.56, allocations: 35.97 kB / 0.6158 GB, free: 5.508 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.5605, allocations: 382.4 kB / 0.6161 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.5607, allocations: 117.1 kB / 0.6162 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.5608, allocations: 41.7 kB / 0.6163 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.5609, allocations: 0 / 0.6163 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.5611, allocations: 113 kB / 0.6164 GB, free: 4.773 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.5611, allocations: 0 / 0.6164 GB, free: 4.773 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.000511/0.5616, allocations: 212.8 kB / 0.6166 GB, free: 4.559 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.5617, allocations: 81.11 kB / 0.6167 GB, free: 4.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.5631, allocations: 1.026 MB / 0.6177 GB, free: 3.426 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.5632, allocations: 25.7 kB / 0.6177 GB, free: 3.395 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.5634, allocations: 240.1 kB / 0.6179 GB, free: 3.156 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.5635, allocations: 31.64 kB / 0.618 GB, free: 3.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.5635, allocations: 4 kB / 0.618 GB, free: 3.121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.5637, allocations: 370.8 kB / 0.6183 GB, free: 2.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.5638, allocations: 31.98 kB / 0.6183 GB, free: 2.719 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.822e-05/0.5639, allocations: 55.36 kB / 0.6184 GB, free: 2.652 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.564, allocations: 95.91 kB / 0.6185 GB, free: 2.547 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.564, allocations: 0 / 0.6185 GB, free: 2.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003124/0.5644, allocations: 176.9 kB / 0.6187 GB, free: 2.367 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5644, allocations: 11.94 kB / 0.6187 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5644, allocations: 0 / 0.6187 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.5644, allocations: 0 / 0.6187 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.5646, allocations: 28.05 kB / 0.6187 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.5646, allocations: 0 / 0.6187 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.5648, allocations: 15.91 kB / 0.6187 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5648, allocations: 11.92 kB / 0.6187 GB, free: 2.301 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.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.000305/0.5651, allocations: 217.8 kB / 0.6189 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.5653, allocations: 59.28 kB / 0.619 GB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005126/0.5658, allocations: 197.7 kB / 0.6192 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.5658, allocations: 8 kB / 0.6192 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5658, allocations: 0 / 0.6192 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5658, allocations: 0 / 0.6192 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.5663, allocations: 393.3 kB / 0.6196 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5664, allocations: 7.938 kB / 0.6196 GB, free: 1.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.5664, allocations: 8 kB / 0.6196 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.5664, allocations: 3.938 kB / 0.6196 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.5665, allocations: 4 kB / 0.6196 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5665, allocations: 3.938 kB / 0.6196 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.5665, allocations: 4.234 kB / 0.6196 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.567, allocations: 229.2 kB / 0.6198 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.5673, allocations: 188.4 kB / 0.62 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.651e-05/0.5674, allocations: 11.94 kB / 0.62 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.5676, allocations: 11.98 kB / 0.62 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.5676, allocations: 7.984 kB / 0.62 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.5677, allocations: 8 kB / 0.62 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001277/0.5689, allocations: 0.7682 MB / 0.6208 GB, free: 96 kB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.569, allocations: 0 / 0.6208 GB, free: 96 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004691/0.5694, allocations: 83.94 kB / 0.6209 GB, free: 12 kB / 426.7 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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00125/0.5707, allocations: 418 kB / 0.6213 GB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.571, allocations: 88.02 kB / 0.6213 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.571, allocations: 4 kB / 0.6213 GB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.5712, allocations: 52.03 kB / 0.6214 GB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.5718, allocations: 69.48 kB / 0.6215 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.5738, allocations: 1.022 MB / 0.6225 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.5744, allocations: 0.8468 MB / 0.6233 GB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002143/0.5746, allocations: 86.95 kB / 0.6234 GB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.5748, allocations: 43.44 kB / 0.6234 GB, free: 13.48 MB / 442.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5748, allocations: 0 / 0.6234 GB, free: 13.48 MB / 442.7 MB Notification: Performance of Templates: time 0.01299/0.5878, allocations: 4.652 MB / 0.6279 GB, free: 8.844 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches