Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007826/0.0007828, allocations: 96.44 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4565/0.4565, allocations: 44.83 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 12 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.404, allocations: 62.96 MB / 0.5184 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1337/0.5378, allocations: 90.49 MB / 0.6068 GB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.5381, allocations: 75.94 kB / 0.6069 GB, free: 14.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02121/0.5593, allocations: 7.586 MB / 0.6143 GB, free: 7.148 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.848e-06/0.5594, allocations: 0 / 0.6143 GB, free: 7.148 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.769e-05/0.5594, allocations: 11.94 kB / 0.6143 GB, free: 7.137 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.001532/0.561, allocations: 0.7387 MB / 0.615 GB, free: 6.344 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.5611, allocations: 12.03 kB / 0.615 GB, free: 6.332 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.5613, allocations: 48.38 kB / 0.6151 GB, free: 6.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.5623, allocations: 0.4997 MB / 0.6156 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.5624, allocations: 12.36 kB / 0.6156 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.5624, allocations: 384 / 0.6156 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.5626, allocations: 99.84 kB / 0.6157 GB, free: 5.625 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5627, allocations: 192 / 0.6157 GB, free: 5.625 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.5627, allocations: 3.938 kB / 0.6157 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5627, allocations: 3.938 kB / 0.6157 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.5628, allocations: 35.97 kB / 0.6157 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.5634, allocations: 370.4 kB / 0.6161 GB, free: 5.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.5637, allocations: 113.2 kB / 0.6162 GB, free: 5.039 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.5638, allocations: 41.69 kB / 0.6162 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.5639, allocations: 0 / 0.6162 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.5641, allocations: 113 kB / 0.6163 GB, free: 4.863 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.984e-06/0.5641, allocations: 0 / 0.6163 GB, free: 4.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006246/0.5648, allocations: 208.8 kB / 0.6165 GB, free: 4.652 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.5649, allocations: 81.11 kB / 0.6166 GB, free: 4.555 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.5663, allocations: 1.003 MB / 0.6176 GB, free: 3.543 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.5664, allocations: 29.7 kB / 0.6176 GB, free: 3.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.5666, allocations: 236.1 kB / 0.6178 GB, free: 3.273 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.5667, allocations: 31.64 kB / 0.6179 GB, free: 3.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.5667, allocations: 4 kB / 0.6179 GB, free: 3.238 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.5669, allocations: 366.8 kB / 0.6182 GB, free: 2.871 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.567, allocations: 27.98 kB / 0.6182 GB, free: 2.844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.5671, allocations: 59.41 kB / 0.6183 GB, free: 2.773 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.5674, allocations: 95.86 kB / 0.6184 GB, free: 2.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5674, allocations: 0 / 0.6184 GB, free: 2.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003565/0.5677, allocations: 176.9 kB / 0.6186 GB, free: 2.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.5678, allocations: 7.938 kB / 0.6186 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5678, allocations: 4 kB / 0.6186 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5678, allocations: 0 / 0.6186 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.5679, allocations: 24.05 kB / 0.6186 GB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5679, allocations: 4 kB / 0.6186 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.5681, allocations: 15.89 kB / 0.6186 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.5681, allocations: 8 kB / 0.6186 GB, free: 2.426 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.0002372/0.5683, allocations: 217.7 kB / 0.6188 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.656e-05/0.5684, allocations: 59.36 kB / 0.6189 GB, free: 2.145 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.5689, allocations: 201.6 kB / 0.6191 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.5689, allocations: 4 kB / 0.6191 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.5689, allocations: 4 kB / 0.6191 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5689, allocations: 0 / 0.6191 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.5693, allocations: 389.3 kB / 0.6194 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.5693, allocations: 0 / 0.6194 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.5694, allocations: 11.94 kB / 0.6195 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.5694, allocations: 3.938 kB / 0.6195 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.5694, allocations: 12.23 kB / 0.6195 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5694, allocations: 4 kB / 0.6195 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5694, allocations: 0 / 0.6195 GB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.5698, allocations: 221.2 kB / 0.6197 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.5701, allocations: 188.4 kB / 0.6199 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.5702, allocations: 11.94 kB / 0.6199 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.5703, allocations: 4 kB / 0.6199 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.5704, allocations: 11.98 kB / 0.6199 GB, free: 1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.5704, allocations: 8 kB / 0.6199 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001142/0.5715, allocations: 0.7448 MB / 0.6206 GB, free: 256 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5715, allocations: 0 / 0.6206 GB, free: 256 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003941/0.5719, allocations: 83.92 kB / 0.6207 GB, free: 172 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.00123/0.5732, allocations: 420.2 kB / 0.6211 GB, free: 15.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.5735, allocations: 91.89 kB / 0.6212 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5735, allocations: 128 / 0.6212 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.5736, allocations: 43.98 kB / 0.6212 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.5741, allocations: 70.03 kB / 0.6213 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.5758, allocations: 0.9985 MB / 0.6223 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.5763, allocations: 0.8468 MB / 0.6231 GB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001607/0.5765, allocations: 86.94 kB / 0.6232 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.5766, allocations: 43.42 kB / 0.6232 GB, free: 13.66 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5766, allocations: 4 kB / 0.6232 GB, free: 13.65 MB / 442.7 MB Notification: Performance of Templates: time 0.009495/0.5861, allocations: 4.558 MB / 0.6277 GB, free: 9.109 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches