Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 179 kB / 18.09 MB, free: 3.746 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.279/1.279, 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.0007724/0.0007724, allocations: 87.75 kB / 293.3 MB, free: 10.74 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.37/0.37, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.000485, allocations: 12 kB / 461.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3942, allocations: 61.88 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1237/0.518, allocations: 89.6 MB / 0.5982 GB, free: 5.438 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.5182, allocations: 79.94 kB / 0.5983 GB, free: 5.363 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03187/0.5501, allocations: 11.43 MB / 0.6095 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5501, allocations: 0 / 0.6095 GB, free: 9.914 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.495e-05/0.5502, allocations: 16.06 kB / 0.6095 GB, free: 9.898 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001358/0.5516, allocations: 0.7365 MB / 0.6102 GB, free: 9.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5516, allocations: 12.03 kB / 0.6102 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.5518, allocations: 52.28 kB / 0.6103 GB, free: 9.047 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/0.5527, allocations: 447.8 kB / 0.6107 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.5528, allocations: 12.38 kB / 0.6107 GB, free: 8.559 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.5528, allocations: 16.38 kB / 0.6107 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.5532, allocations: 216.6 kB / 0.6109 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.5533, allocations: 192 / 0.6109 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.5533, allocations: 11.94 kB / 0.6109 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.5533, allocations: 4 kB / 0.611 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.5536, allocations: 111.8 kB / 0.6111 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.5548, allocations: 0.8838 MB / 0.6119 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.5554, allocations: 301.2 kB / 0.6122 GB, free: 6.898 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.5556, allocations: 105.2 kB / 0.6123 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.5556, allocations: 8 kB / 0.6123 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.5561, allocations: 235.5 kB / 0.6125 GB, free: 6.516 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.5561, allocations: 0 / 0.6125 GB, free: 6.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.002111/0.5582, allocations: 0.9963 MB / 0.6135 GB, free: 5.508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.055e-05/0.5583, allocations: 162.2 kB / 0.6137 GB, free: 5.312 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008/0.5591, allocations: 0.616 MB / 0.6143 GB, free: 4.688 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.5591, allocations: 37.7 kB / 0.6143 GB, free: 4.645 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.5593, allocations: 229 kB / 0.6145 GB, free: 4.418 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.5594, allocations: 122.3 kB / 0.6146 GB, free: 4.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.5595, allocations: 8 kB / 0.6146 GB, free: 4.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5596, allocations: 366.8 kB / 0.615 GB, free: 3.922 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.5599, allocations: 104.8 kB / 0.6151 GB, free: 3.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.5602, allocations: 196.8 kB / 0.6153 GB, free: 3.598 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.5607, allocations: 304.8 kB / 0.6156 GB, free: 3.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5607, allocations: 0 / 0.6156 GB, free: 3.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007518/0.5615, allocations: 412.6 kB / 0.616 GB, free: 2.859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5615, allocations: 5.875 kB / 0.616 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5615, allocations: 12.09 kB / 0.616 GB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5615, allocations: 4 kB / 0.616 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.5618, allocations: 83.89 kB / 0.6161 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.5619, allocations: 7.938 kB / 0.6161 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.5621, allocations: 27.92 kB / 0.6161 GB, free: 2.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.5621, allocations: 16 kB / 0.6161 GB, free: 2.707 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.000229/0.5624, allocations: 208.3 kB / 0.6163 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.5625, allocations: 63.25 kB / 0.6164 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009032/0.5634, allocations: 485.8 kB / 0.6168 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.5634, allocations: 8 kB / 0.6169 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.5634, allocations: 96 / 0.6169 GB, free: 1.945 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5634, allocations: 7.938 kB / 0.6169 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.5653, allocations: 1.374 MB / 0.6182 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5653, allocations: 4 kB / 0.6182 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.5654, allocations: 59.84 kB / 0.6183 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.5655, allocations: 4 kB / 0.6183 GB, free: 432 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.5655, allocations: 12 kB / 0.6183 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.5655, allocations: 7.984 kB / 0.6183 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5655, allocations: 0 / 0.6183 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.5665, allocations: 0.8517 MB / 0.6191 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.5667, allocations: 160.3 kB / 0.6193 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/0.5667, allocations: 15.98 kB / 0.6193 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.5671, allocations: 23.98 kB / 0.6193 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.5672, allocations: 39.83 kB / 0.6193 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/0.5672, allocations: 27.98 kB / 0.6194 GB, free: 15.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000567/0.5678, allocations: 454.8 kB / 0.6198 GB, free: 14.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5678, allocations: 0 / 0.6198 GB, free: 14.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006149/0.5684, allocations: 103.9 kB / 0.6199 GB, free: 14.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001201/0.5697, allocations: 491.7 kB / 0.6204 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006617/0.5703, allocations: 303.4 kB / 0.6207 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5703, allocations: 0 / 0.6207 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.5707, allocations: 177.8 kB / 0.6208 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.5718, allocations: 132.1 kB / 0.621 GB, free: 13.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.5735, allocations: 1.008 MB / 0.6219 GB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.574, allocations: 0.8551 MB / 0.6228 GB, free: 11.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002992/0.5743, allocations: 83.3 kB / 0.6229 GB, free: 11.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.5745, allocations: 59.41 kB / 0.6229 GB, free: 11.7 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5745, allocations: 0 / 0.6229 GB, free: 11.7 MB / 442.7 MB Notification: Performance of Templates: time 0.01163/0.5861, allocations: 5.751 MB / 0.6285 GB, free: 6.02 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches