Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002426/0.002426, allocations: 200.8 kB / 18.1 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008402/0.0008404, allocations: 99.11 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3739/0.3739, allocations: 44.83 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002833/0.0002835, allocations: 12 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.396, allocations: 62.96 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.537, allocations: 90.49 MB / 0.6068 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.5373, allocations: 79.95 kB / 0.6069 GB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0217/0.559, allocations: 7.63 MB / 0.6143 GB, free: 7.117 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.5591, allocations: 4 kB / 0.6143 GB, free: 7.113 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.014e-05/0.5591, allocations: 11.94 kB / 0.6143 GB, free: 7.102 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.001006/0.5601, allocations: 0.7426 MB / 0.6151 GB, free: 6.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5602, allocations: 12.03 kB / 0.6151 GB, free: 6.293 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.5603, allocations: 52.28 kB / 0.6151 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/0.5611, allocations: 0.5153 MB / 0.6156 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.5612, allocations: 12.38 kB / 0.6156 GB, free: 5.676 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.5612, allocations: 384 / 0.6156 GB, free: 5.676 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.5614, allocations: 91.86 kB / 0.6157 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5615, allocations: 4.125 kB / 0.6157 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.5615, allocations: 3.938 kB / 0.6157 GB, free: 5.566 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5615, allocations: 0 / 0.6157 GB, free: 5.566 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.5616, allocations: 35.97 kB / 0.6158 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.5622, allocations: 382.4 kB / 0.6161 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.5625, allocations: 113.2 kB / 0.6162 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.5626, allocations: 45.69 kB / 0.6163 GB, free: 4.926 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.5626, allocations: 4 kB / 0.6163 GB, free: 4.922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.5629, allocations: 105 kB / 0.6164 GB, free: 4.801 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.5629, allocations: 0 / 0.6164 GB, free: 4.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007234/0.5637, allocations: 212.8 kB / 0.6166 GB, free: 4.586 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.75e-05/0.5638, allocations: 85.11 kB / 0.6167 GB, free: 4.484 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.5657, allocations: 1.026 MB / 0.6177 GB, free: 3.449 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.5658, allocations: 25.7 kB / 0.6177 GB, free: 3.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.566, allocations: 240.1 kB / 0.6179 GB, free: 3.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.5661, allocations: 27.64 kB / 0.618 GB, free: 3.152 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-06/0.5661, allocations: 4 kB / 0.618 GB, free: 3.148 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.5664, allocations: 370.7 kB / 0.6183 GB, free: 2.777 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.497e-05/0.5665, allocations: 27.98 kB / 0.6183 GB, free: 2.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.5666, allocations: 63.41 kB / 0.6184 GB, free: 2.676 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.5668, allocations: 87.86 kB / 0.6185 GB, free: 2.578 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5668, allocations: 0 / 0.6185 GB, free: 2.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004035/0.5672, allocations: 184.9 kB / 0.6187 GB, free: 2.391 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.5672, allocations: 11.94 kB / 0.6187 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5673, allocations: 0 / 0.6187 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.5673, allocations: 4 kB / 0.6187 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.5674, allocations: 19.98 kB / 0.6187 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/0.5674, allocations: 0 / 0.6187 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.5676, allocations: 19.89 kB / 0.6187 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.5676, allocations: 4 kB / 0.6187 GB, free: 2.332 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.0003057/0.5679, allocations: 225.8 kB / 0.6189 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5681, allocations: 63.28 kB / 0.619 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004572/0.5685, allocations: 197.7 kB / 0.6192 GB, free: 1.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5685, allocations: 4 kB / 0.6192 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5686, allocations: 0 / 0.6192 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.5686, allocations: 0 / 0.6192 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004307/0.569, allocations: 405.2 kB / 0.6196 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.569, allocations: 0 / 0.6196 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.5691, allocations: 8 kB / 0.6196 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.5691, allocations: 7.938 kB / 0.6196 GB, free: 1.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.5691, allocations: 7.984 kB / 0.6196 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5691, allocations: 0 / 0.6196 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.5691, allocations: 0 / 0.6196 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.5695, allocations: 221.2 kB / 0.6198 GB, free: 1.129 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.5698, allocations: 192.4 kB / 0.62 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.5699, allocations: 16.17 kB / 0.62 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.57, allocations: 12 kB / 0.62 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.57, allocations: 7.984 kB / 0.62 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.57, allocations: 8 kB / 0.62 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000959/0.571, allocations: 0.7604 MB / 0.6208 GB, free: 124 kB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.571, allocations: 0 / 0.6208 GB, free: 124 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003308/0.5714, allocations: 83.94 kB / 0.6209 GB, free: 40 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.0009214/0.5723, allocations: 423.1 kB / 0.6213 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002919/0.5726, allocations: 87.78 kB / 0.6213 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5726, allocations: 0 / 0.6213 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.5727, allocations: 48.34 kB / 0.6214 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.5733, allocations: 71.58 kB / 0.6215 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.5748, allocations: 1.03 MB / 0.6225 GB, free: 14.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.5753, allocations: 0.8469 MB / 0.6233 GB, free: 13.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.5754, allocations: 90.94 kB / 0.6234 GB, free: 13.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.5756, allocations: 43.42 kB / 0.6234 GB, free: 13.48 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5756, allocations: 0 / 0.6234 GB, free: 13.48 MB / 442.7 MB Notification: Performance of Templates: time 0.009501/0.5851, allocations: 4.64 MB / 0.6279 GB, free: 8.871 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches