Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002751/0.002751, allocations: 196.5 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007538/0.0007538, allocations: 95 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3924/0.3924, allocations: 44.82 MB / 394.3 MB, free: 35.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003318, allocations: 12 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4056, allocations: 62.96 MB / 0.5184 GB, free: 37.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.538, allocations: 90.49 MB / 0.6068 GB, free: 14.83 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.5384, allocations: 75.94 kB / 0.6069 GB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02309/0.5615, allocations: 7.583 MB / 0.6143 GB, free: 7.168 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5615, allocations: 0 / 0.6143 GB, free: 7.168 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.897e-05/0.5616, allocations: 7.938 kB / 0.6143 GB, free: 7.16 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.001495/0.5631, allocations: 0.7426 MB / 0.615 GB, free: 6.363 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.5632, allocations: 8.031 kB / 0.615 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000209/0.5634, allocations: 52.38 kB / 0.6151 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.5646, allocations: 0.5114 MB / 0.6156 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.5647, allocations: 4.375 kB / 0.6156 GB, free: 5.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.5647, allocations: 4.375 kB / 0.6156 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.565, allocations: 87.86 kB / 0.6157 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.565, allocations: 192 / 0.6157 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.565, allocations: 15.88 kB / 0.6157 GB, free: 5.633 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5651, allocations: 0 / 0.6157 GB, free: 5.633 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.5652, allocations: 31.97 kB / 0.6157 GB, free: 5.602 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.5659, allocations: 378.4 kB / 0.6161 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.5663, allocations: 113.2 kB / 0.6162 GB, free: 5.051 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.5664, allocations: 41.69 kB / 0.6162 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5664, allocations: 0 / 0.6162 GB, free: 5.004 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003706/0.5668, allocations: 113 kB / 0.6163 GB, free: 4.875 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.454e-06/0.5669, allocations: 0 / 0.6163 GB, free: 4.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006559/0.5675, allocations: 208.8 kB / 0.6165 GB, free: 4.664 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.5676, allocations: 81.11 kB / 0.6166 GB, free: 4.566 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.5692, allocations: 0.995 MB / 0.6176 GB, free: 3.562 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5693, allocations: 33.7 kB / 0.6176 GB, free: 3.523 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.5695, allocations: 232.1 kB / 0.6178 GB, free: 3.293 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.5695, allocations: 27.64 kB / 0.6178 GB, free: 3.266 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.5696, allocations: 12 kB / 0.6179 GB, free: 3.254 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5698, allocations: 362.8 kB / 0.6182 GB, free: 2.891 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.061e-05/0.5699, allocations: 27.98 kB / 0.6182 GB, free: 2.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.57, allocations: 62.53 kB / 0.6183 GB, free: 2.793 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.5702, allocations: 95.34 kB / 0.6184 GB, free: 2.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5702, allocations: 0 / 0.6184 GB, free: 2.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004266/0.5706, allocations: 177.4 kB / 0.6185 GB, free: 2.508 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.5707, allocations: 7.938 kB / 0.6186 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5707, allocations: 0 / 0.6186 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.5707, allocations: 4.125 kB / 0.6186 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.5708, allocations: 23.98 kB / 0.6186 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5709, allocations: 4.062 kB / 0.6186 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.571, allocations: 15.89 kB / 0.6186 GB, free: 2.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.5711, allocations: 8 kB / 0.6186 GB, free: 2.445 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.0002944/0.5714, allocations: 217.7 kB / 0.6188 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.5715, allocations: 55.36 kB / 0.6189 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004533/0.572, allocations: 217.5 kB / 0.6191 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.572, allocations: 0 / 0.6191 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.572, allocations: 4 kB / 0.6191 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.572, allocations: 4 kB / 0.6191 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.5725, allocations: 385.3 kB / 0.6195 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.5725, allocations: 3.938 kB / 0.6195 GB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.5726, allocations: 15.98 kB / 0.6195 GB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5726, allocations: 3.938 kB / 0.6195 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.5726, allocations: 8 kB / 0.6195 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.5726, allocations: 0 / 0.6195 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5726, allocations: 0 / 0.6195 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.573, allocations: 220.2 kB / 0.6197 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.5733, allocations: 192.4 kB / 0.6199 GB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.5734, allocations: 11.94 kB / 0.6199 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.5735, allocations: 4 kB / 0.6199 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.5736, allocations: 7.984 kB / 0.6199 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.5736, allocations: 8 kB / 0.6199 GB, free: 1.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00102/0.5746, allocations: 0.7487 MB / 0.6206 GB, free: 268 kB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5746, allocations: 0 / 0.6206 GB, free: 268 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004027/0.5751, allocations: 83.94 kB / 0.6207 GB, free: 184 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.001131/0.5762, allocations: 408.1 kB / 0.6211 GB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.5765, allocations: 87.83 kB / 0.6212 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5765, allocations: 0 / 0.6212 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.5766, allocations: 44.09 kB / 0.6212 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.5772, allocations: 83.52 kB / 0.6213 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.5791, allocations: 1.003 MB / 0.6223 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.5796, allocations: 0.8391 MB / 0.6231 GB, free: 13.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000226/0.5798, allocations: 94.94 kB / 0.6232 GB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.58, allocations: 39.44 kB / 0.6232 GB, free: 13.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/0.58, allocations: 0 / 0.6232 GB, free: 13.68 MB / 442.7 MB Notification: Performance of Templates: time 0.0126/0.5926, allocations: 4.559 MB / 0.6277 GB, free: 9.137 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches