Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 203.9 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007482/0.0007481, allocations: 100.1 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3364/0.3364, allocations: 44.83 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002893, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3111, allocations: 62.96 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4353, allocations: 90.87 MB / 0.6072 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4356, allocations: 79.94 kB / 0.6072 GB, free: 14.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02004/0.4557, allocations: 7.247 MB / 0.6143 GB, free: 7.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4557, allocations: 3.938 kB / 0.6143 GB, free: 7.094 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4557, allocations: 0 / 0.6143 GB, free: 7.094 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006186/0.4564, allocations: 443 kB / 0.6148 GB, free: 6.609 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4564, allocations: 12.03 kB / 0.6148 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.4565, allocations: 12.75 kB / 0.6148 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.4568, allocations: 214.9 kB / 0.615 GB, free: 6.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.4569, allocations: 4.375 kB / 0.615 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.4569, allocations: 384 / 0.615 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.4571, allocations: 79.5 kB / 0.6151 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4571, allocations: 0 / 0.6151 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.4571, allocations: 4 kB / 0.6151 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4571, allocations: 4 kB / 0.6151 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.4572, allocations: 15.98 kB / 0.6151 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.4576, allocations: 296.8 kB / 0.6154 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.4578, allocations: 58.69 kB / 0.6154 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.4578, allocations: 24.84 kB / 0.6154 GB, free: 5.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.4579, allocations: 0 / 0.6154 GB, free: 5.789 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.458, allocations: 67.33 kB / 0.6155 GB, free: 5.711 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.216e-06/0.458, allocations: 0 / 0.6155 GB, free: 5.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005891/0.4586, allocations: 185.2 kB / 0.6157 GB, free: 5.523 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.4587, allocations: 85.05 kB / 0.6158 GB, free: 5.422 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.4589, allocations: 171.2 kB / 0.6159 GB, free: 5.246 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4589, allocations: 25.7 kB / 0.616 GB, free: 5.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.459, allocations: 100.1 kB / 0.6161 GB, free: 5.113 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.459, allocations: 23.66 kB / 0.6161 GB, free: 5.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.459, allocations: 0 / 0.6161 GB, free: 5.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4591, allocations: 326.8 kB / 0.6164 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.4592, allocations: 23.98 kB / 0.6164 GB, free: 4.738 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.605e-05/0.4593, allocations: 42.56 kB / 0.6164 GB, free: 4.688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.4594, allocations: 65.64 kB / 0.6165 GB, free: 4.617 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.4594, allocations: 192 / 0.6165 GB, free: 4.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001793/0.4596, allocations: 97.66 kB / 0.6166 GB, free: 4.516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4596, allocations: 18.89 kB / 0.6166 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4596, allocations: 3.984 kB / 0.6166 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4597, allocations: 4.062 kB / 0.6166 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.4598, allocations: 15.94 kB / 0.6166 GB, free: 4.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.4598, allocations: 4 kB / 0.6166 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.4598, allocations: 0 / 0.6166 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.4598, allocations: 7.984 kB / 0.6167 GB, free: 4.465 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001036/0.46, allocations: 125.8 kB / 0.6168 GB, free: 4.332 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.46, allocations: 11.81 kB / 0.6168 GB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.4602, allocations: 118.7 kB / 0.6169 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.4602, allocations: 4 kB / 0.6169 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4603, allocations: 0 / 0.6169 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.4603, allocations: 0 / 0.6169 GB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.4607, allocations: 415.2 kB / 0.6173 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4607, allocations: 0 / 0.6173 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.4608, allocations: 11.98 kB / 0.6173 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4608, allocations: 4 kB / 0.6173 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4609, allocations: 0 / 0.6173 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4609, allocations: 7.969 kB / 0.6173 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4609, allocations: 3.938 kB / 0.6173 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.4611, allocations: 200.3 kB / 0.6175 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.4612, allocations: 96.91 kB / 0.6176 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.4612, allocations: 11.94 kB / 0.6176 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.862e-05/0.4613, allocations: 15.86 kB / 0.6176 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.4614, allocations: 4 kB / 0.6176 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.4614, allocations: 4 kB / 0.6176 GB, free: 3.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.4615, allocations: 135.2 kB / 0.6178 GB, free: 3.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4615, allocations: 0 / 0.6178 GB, free: 3.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003353/0.4618, allocations: 55.92 kB / 0.6178 GB, free: 3.148 MB / 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001203/0.4631, allocations: 0.562 MB / 0.6184 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.4633, allocations: 63.89 kB / 0.6184 GB, free: 2.711 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4633, allocations: 0 / 0.6184 GB, free: 2.711 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.4634, allocations: 35.92 kB / 0.6185 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.4637, allocations: 27.97 kB / 0.6185 GB, free: 2.648 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.4641, allocations: 214.2 kB / 0.6187 GB, free: 2.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4644, allocations: 0.7004 MB / 0.6194 GB, free: 1.684 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.944e-05/0.4645, allocations: 20.86 kB / 0.6194 GB, free: 1.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.4645, allocations: 19.42 kB / 0.6194 GB, free: 1.645 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4645, allocations: 0 / 0.6194 GB, free: 1.645 MB / 426.7 MB Notification: Performance of Templates: time 0.005182/0.4697, allocations: 2.291 MB / 0.6217 GB, free: 15.37 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches