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.001008/0.001008, allocations: 179.2 kB / 18.09 MB, free: 3.75 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.304/1.304, allocations: 223.3 MB / 242.1 MB, free: 11.66 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.0007616/0.0007616, allocations: 98.47 kB / 293.3 MB, free: 10.76 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.3522/0.3522, allocations: 44.15 MB / 388.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 16 kB / 461.1 MB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4061, allocations: 61.88 MB / 0.5107 GB, free: 38.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.5387, allocations: 89.99 MB / 0.5986 GB, free: 5.051 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.539, allocations: 83.94 kB / 0.5987 GB, free: 4.973 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03225/0.5712, allocations: 12.43 MB / 0.6108 GB, free: 8.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5713, allocations: 3.984 kB / 0.6108 GB, free: 8.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.884e-05/0.5713, allocations: 12 kB / 0.6109 GB, free: 8.504 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.001398/0.5727, allocations: 0.7638 MB / 0.6116 GB, free: 7.688 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5728, allocations: 8.031 kB / 0.6116 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.573, allocations: 60.19 kB / 0.6117 GB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.5738, allocations: 459.5 kB / 0.6121 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.5738, allocations: 20.38 kB / 0.6121 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.5739, allocations: 12.38 kB / 0.6121 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.5743, allocations: 202 kB / 0.6123 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5743, allocations: 4.188 kB / 0.6123 GB, free: 6.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.5743, allocations: 11.92 kB / 0.6123 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.5743, allocations: 4 kB / 0.6124 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.5746, allocations: 103.9 kB / 0.6125 GB, free: 6.766 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.5757, allocations: 0.8418 MB / 0.6133 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.5763, allocations: 246.5 kB / 0.6135 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.5765, allocations: 99.45 kB / 0.6136 GB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.5765, allocations: 0 / 0.6136 GB, free: 5.477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003479/0.5769, allocations: 209 kB / 0.6138 GB, free: 5.246 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.5769, allocations: 0 / 0.6138 GB, free: 5.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002353/0.5792, allocations: 1.111 MB / 0.6149 GB, free: 4.125 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.5793, allocations: 144.4 kB / 0.615 GB, free: 3.953 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009915/0.5803, allocations: 0.7412 MB / 0.6157 GB, free: 3.203 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.5804, allocations: 37.7 kB / 0.6158 GB, free: 3.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.5806, allocations: 236.9 kB / 0.616 GB, free: 2.926 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.5807, allocations: 146.1 kB / 0.6161 GB, free: 2.781 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.805e-05/0.5808, allocations: 8 kB / 0.6162 GB, free: 2.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.581, allocations: 378.7 kB / 0.6165 GB, free: 2.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.5812, allocations: 116.8 kB / 0.6166 GB, free: 2.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.5815, allocations: 183.2 kB / 0.6168 GB, free: 2.082 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.582, allocations: 327 kB / 0.6171 GB, free: 1.738 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.582, allocations: 0 / 0.6171 GB, free: 1.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007543/0.5828, allocations: 444.5 kB / 0.6175 GB, free: 1.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.5828, allocations: 8 kB / 0.6175 GB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5828, allocations: 3.984 kB / 0.6176 GB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.5828, allocations: 4 kB / 0.6176 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.5831, allocations: 91.83 kB / 0.6176 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.5831, allocations: 4 kB / 0.6176 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.5833, allocations: 23.98 kB / 0.6177 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.5834, allocations: 20.12 kB / 0.6177 GB, free: 1.145 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.0002559/0.5836, allocations: 235.9 kB / 0.6179 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.5837, allocations: 67.14 kB / 0.618 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008913/0.5846, allocations: 0.5062 MB / 0.6185 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.5846, allocations: 4 kB / 0.6185 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5847, allocations: 4 kB / 0.6185 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.5847, allocations: 7.984 kB / 0.6185 GB, free: 316 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.5865, allocations: 1.42 MB / 0.6199 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5866, allocations: 4 kB / 0.6199 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.5867, allocations: 67.91 kB / 0.6199 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/0.5868, allocations: 4.25 kB / 0.6199 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.5868, allocations: 19.98 kB / 0.62 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/0.5868, allocations: 4 kB / 0.62 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5868, allocations: 7.938 kB / 0.62 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008594/0.5877, allocations: 0.8082 MB / 0.6208 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.5879, allocations: 208.3 kB / 0.621 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.588, allocations: 20 kB / 0.621 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.5883, allocations: 19.98 kB / 0.621 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-05/0.5884, allocations: 43.89 kB / 0.621 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.5884, allocations: 31.92 kB / 0.6211 GB, free: 13.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006272/0.5891, allocations: 0.5417 MB / 0.6216 GB, free: 12.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5891, allocations: 7.938 kB / 0.6216 GB, free: 12.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005454/0.5896, allocations: 115.9 kB / 0.6217 GB, free: 12.84 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.001165/0.5908, allocations: 0.5428 MB / 0.6223 GB, free: 12.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006099/0.5914, allocations: 322.6 kB / 0.6226 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5915, allocations: 256 / 0.6226 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.5918, allocations: 184.2 kB / 0.6227 GB, free: 12.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.5928, allocations: 124.7 kB / 0.6229 GB, free: 11.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.5945, allocations: 1.191 MB / 0.624 GB, free: 10.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.595, allocations: 0.8788 MB / 0.6249 GB, free: 9.742 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.5953, allocations: 99.22 kB / 0.625 GB, free: 9.648 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.5954, allocations: 55.42 kB / 0.625 GB, free: 9.594 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5954, allocations: 0 / 0.625 GB, free: 9.594 MB / 442.7 MB Notification: Performance of Templates: time 0.01117/0.6066, allocations: 5.634 MB / 0.6305 GB, free: 4.012 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/jenkins1/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