Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008556/0.0008557, allocations: 82.64 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2115/0.2115, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.572e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 58.87 MB / 477.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4326/0.5571, allocations: 86.95 MB / 0.5509 GB, free: 8.008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.5573, allocations: 75.25 kB / 0.5509 GB, free: 7.973 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.5707, allocations: 5.643 MB / 0.5564 GB, free: 3.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.5707, allocations: 0 / 0.5564 GB, free: 3.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.5708, allocations: 7.875 kB / 0.5565 GB, free: 3.461 MB / 362.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.0004159/0.5712, allocations: 420.3 kB / 0.5569 GB, free: 3.016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5712, allocations: 8.031 kB / 0.5569 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.5713, allocations: 11.91 kB / 0.5569 GB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.5716, allocations: 221.6 kB / 0.5571 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5716, allocations: 4 kB / 0.5571 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5716, allocations: 0 / 0.5571 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.469e-05/0.5717, allocations: 22.86 kB / 0.5571 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.333e-05/0.5718, allocations: 49.19 kB / 0.5572 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5718, allocations: 4 kB / 0.5572 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5718, allocations: 0 / 0.5572 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.5719, allocations: 0 / 0.5572 GB, free: 2.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.5723, allocations: 289.1 kB / 0.5574 GB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.5724, allocations: 49.06 kB / 0.5575 GB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.5724, allocations: 19.55 kB / 0.5575 GB, free: 2.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.5724, allocations: 8 kB / 0.5575 GB, free: 2.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.5726, allocations: 65.58 kB / 0.5576 GB, free: 2.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.5726, allocations: 0 / 0.5576 GB, free: 2.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004684/0.5731, allocations: 153.2 kB / 0.5577 GB, free: 2.109 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.5731, allocations: 59.34 kB / 0.5578 GB, free: 2.039 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.5733, allocations: 232.1 kB / 0.558 GB, free: 1.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.5734, allocations: 29.64 kB / 0.558 GB, free: 1.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.5734, allocations: 113.8 kB / 0.5581 GB, free: 1.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.5735, allocations: 23.53 kB / 0.5582 GB, free: 1.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.5735, allocations: 0 / 0.5582 GB, free: 1.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.5736, allocations: 329.5 kB / 0.5585 GB, free: 1.363 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/0.5736, allocations: 15.56 kB / 0.5585 GB, free: 1.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.813e-05/0.5737, allocations: 28.59 kB / 0.5585 GB, free: 1.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.5737, allocations: 23.73 kB / 0.5585 GB, free: 1.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5737, allocations: 4 kB / 0.5585 GB, free: 1.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000128/0.5738, allocations: 98.81 kB / 0.5586 GB, free: 1.219 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5739, allocations: 8 kB / 0.5586 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5739, allocations: 0 / 0.5586 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5739, allocations: 0 / 0.5586 GB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.574, allocations: 16.17 kB / 0.5587 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.574, allocations: 8 kB / 0.5587 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.5741, allocations: 0 / 0.5587 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.5741, allocations: 11.83 kB / 0.5587 GB, free: 1.18 MB / 362.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 () * 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 7.305e-05/0.5742, allocations: 106.4 kB / 0.5588 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.5742, allocations: 23.73 kB / 0.5588 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.5744, allocations: 111.5 kB / 0.5589 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.5744, allocations: 7.969 kB / 0.5589 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.5744, allocations: 0 / 0.5589 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.5744, allocations: 4 kB / 0.5589 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.5748, allocations: 402.4 kB / 0.5593 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5748, allocations: 4.031 kB / 0.5593 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.5749, allocations: 8 kB / 0.5593 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5749, allocations: 0 / 0.5593 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5749, allocations: 4 kB / 0.5593 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5749, allocations: 7.922 kB / 0.5593 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5749, allocations: 0 / 0.5593 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.5751, allocations: 220.3 kB / 0.5595 GB, free: 308 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.237e-05/0.5752, allocations: 96.86 kB / 0.5596 GB, free: 192 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.5752, allocations: 11.86 kB / 0.5596 GB, free: 184 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.5753, allocations: 0 / 0.5596 GB, free: 184 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.5753, allocations: 11.89 kB / 0.5597 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5754, allocations: 7.984 kB / 0.5597 GB, free: 164 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001346/0.5755, allocations: 189 kB / 0.5598 GB, free: 12 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5755, allocations: 0 / 0.5598 GB, free: 12 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.5758, allocations: 36.09 kB / 0.5599 GB, free: 15.97 MB / 378.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) * 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.0009285/0.5767, allocations: 393.4 kB / 0.5602 GB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.5769, allocations: 57.61 kB / 0.5603 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5769, allocations: 0 / 0.5603 GB, free: 15.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/0.5769, allocations: 27.06 kB / 0.5603 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.5772, allocations: 20.17 kB / 0.5603 GB, free: 15.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.5777, allocations: 223.3 kB / 0.5606 GB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.578, allocations: 0.7245 MB / 0.5613 GB, free: 14.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.699e-05/0.5781, allocations: 28.52 kB / 0.5613 GB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.5781, allocations: 19.44 kB / 0.5613 GB, free: 14.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5782, allocations: 0 / 0.5613 GB, free: 14.55 MB / 378.7 MB Notification: Performance of Templates: time 0.004513/0.5827, allocations: 1.731 MB / 0.563 GB, free: 12.84 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches