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.001181/0.001181, allocations: 176.4 kB / 17.06 MB, free: 5.094 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.354/1.354, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008937/0.0008938, allocations: 100 kB / 292.2 MB, free: 10.91 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.3405/0.3405, allocations: 44.22 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 12 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3532, allocations: 61.9 MB / 0.5096 GB, free: 38.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.4664, allocations: 89.58 MB / 0.5971 GB, free: 5.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4667, allocations: 79.92 kB / 0.5971 GB, free: 5.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03115/0.4978, allocations: 11.43 MB / 0.6083 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4979, allocations: 0 / 0.6083 GB, free: 10.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.054e-05/0.4979, allocations: 11.94 kB / 0.6083 GB, free: 10 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.001203/0.4991, allocations: 0.7404 MB / 0.609 GB, free: 9.211 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4992, allocations: 8.031 kB / 0.609 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.4993, allocations: 51.34 kB / 0.6091 GB, free: 9.152 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008376/0.5002, allocations: 442.9 kB / 0.6095 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.5002, allocations: 7.953 kB / 0.6095 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.5002, allocations: 16 kB / 0.6095 GB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.5006, allocations: 208 kB / 0.6097 GB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.5007, allocations: 8 kB / 0.6097 GB, free: 8.422 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.5007, allocations: 4 kB / 0.6097 GB, free: 8.418 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.5007, allocations: 4 kB / 0.6097 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.501, allocations: 111.8 kB / 0.6099 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.502, allocations: 0.8878 MB / 0.6107 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006109/0.5026, allocations: 301.8 kB / 0.611 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.5027, allocations: 15.92 kB / 0.611 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004027/0.5031, allocations: 231.6 kB / 0.6112 GB, free: 6.742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.845e-06/0.5031, allocations: 4 kB / 0.6112 GB, free: 6.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.002028/0.5051, allocations: 0.9897 MB / 0.6122 GB, free: 5.738 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.5052, allocations: 162.2 kB / 0.6124 GB, free: 5.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007293/0.506, allocations: 0.5605 MB / 0.6129 GB, free: 4.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.506, allocations: 37.7 kB / 0.6129 GB, free: 4.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.5062, allocations: 225 kB / 0.6132 GB, free: 4.707 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.5063, allocations: 118.5 kB / 0.6133 GB, free: 4.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.5063, allocations: 11.94 kB / 0.6133 GB, free: 4.578 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5065, allocations: 370.8 kB / 0.6136 GB, free: 4.207 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.5067, allocations: 104.8 kB / 0.6137 GB, free: 4.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.507, allocations: 180.9 kB / 0.6139 GB, free: 3.898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.5073, allocations: 124.3 kB / 0.614 GB, free: 3.777 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5073, allocations: 0 / 0.614 GB, free: 3.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007159/0.508, allocations: 408.6 kB / 0.6144 GB, free: 3.371 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.508, allocations: 8 kB / 0.6144 GB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.508, allocations: 4 kB / 0.6144 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.5081, allocations: 7.953 kB / 0.6144 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.5084, allocations: 83.89 kB / 0.6145 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.5084, allocations: 7.938 kB / 0.6145 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.5086, allocations: 32.08 kB / 0.6146 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.5086, allocations: 12 kB / 0.6146 GB, free: 3.219 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.0002461/0.5089, allocations: 212.8 kB / 0.6148 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.509, allocations: 59.28 kB / 0.6148 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009086/0.5099, allocations: 489.4 kB / 0.6153 GB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5099, allocations: 11.95 kB / 0.6153 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.51, allocations: 0 / 0.6153 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.51, allocations: 0 / 0.6153 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.5118, allocations: 1.382 MB / 0.6167 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.5118, allocations: 11.94 kB / 0.6167 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.512, allocations: 55.91 kB / 0.6167 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.512, allocations: 8.156 kB / 0.6167 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.512, allocations: 15.98 kB / 0.6167 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.512, allocations: 4 kB / 0.6167 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.512, allocations: 480 / 0.6168 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/0.513, allocations: 0.9407 MB / 0.6177 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.5132, allocations: 164.3 kB / 0.6178 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.5133, allocations: 12 kB / 0.6178 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003458/0.5136, allocations: 31.94 kB / 0.6179 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.395e-05/0.5137, allocations: 39.83 kB / 0.6179 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.5138, allocations: 23.98 kB / 0.6179 GB, free: 15.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005336/0.5143, allocations: 454.8 kB / 0.6184 GB, free: 15.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5143, allocations: 0 / 0.6184 GB, free: 15.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005712/0.5149, allocations: 103.9 kB / 0.6185 GB, free: 15.03 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.001043/0.5159, allocations: 496.1 kB / 0.6189 GB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006155/0.5166, allocations: 304 kB / 0.6192 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5166, allocations: 4 kB / 0.6192 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.5169, allocations: 172.3 kB / 0.6194 GB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.5176, allocations: 115.7 kB / 0.6195 GB, free: 14.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.519, allocations: 1.009 MB / 0.6205 GB, free: 13.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.5194, allocations: 0.8667 MB / 0.6213 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.5197, allocations: 91.75 kB / 0.6214 GB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.5198, allocations: 55.42 kB / 0.6215 GB, free: 12.05 MB / 442.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5199, allocations: 0 / 0.6215 GB, free: 12.05 MB / 442.7 MB Notification: Performance of Templates: time 0.00979/0.5297, allocations: 5.705 MB / 0.627 GB, free: 6.402 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/jenkins/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