Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00213/0.00213, allocations: 176.7 kB / 8.008 MB, free: 1.066 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.727/1.727, allocations: 205.3 MB / 213.7 MB, free: 1.676 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.000976/0.0009761, allocations: 90.14 kB / 261.7 MB, free: 1.617 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.2177/0.2177, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.323e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4173/0.5545, allocations: 86.95 MB / 0.5509 GB, free: 7.996 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.5548, allocations: 79.39 kB / 0.5509 GB, free: 7.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01226/0.5671, allocations: 5.37 MB / 0.5562 GB, free: 3.711 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5671, allocations: 0 / 0.5562 GB, free: 3.711 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.5671, allocations: 7.938 kB / 0.5562 GB, free: 3.703 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.0003512/0.5675, allocations: 397.6 kB / 0.5566 GB, free: 3.277 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5675, allocations: 8.031 kB / 0.5566 GB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.5676, allocations: 15.8 kB / 0.5566 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.5678, allocations: 218.9 kB / 0.5568 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.5679, allocations: 0 / 0.5568 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.5679, allocations: 3.984 kB / 0.5568 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.635e-05/0.568, allocations: 15.94 kB / 0.5568 GB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.152e-05/0.5681, allocations: 57.3 kB / 0.5569 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5681, allocations: 0 / 0.5569 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.5681, allocations: 0 / 0.5569 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5681, allocations: 0 / 0.5569 GB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.5684, allocations: 273.3 kB / 0.5571 GB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.159e-05/0.5685, allocations: 54.19 kB / 0.5572 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.5686, allocations: 16.61 kB / 0.5572 GB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.5686, allocations: 0 / 0.5572 GB, free: 2.586 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.5687, allocations: 66.77 kB / 0.5573 GB, free: 2.516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.5687, allocations: 4 kB / 0.5573 GB, free: 2.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003932/0.5691, allocations: 144.2 kB / 0.5574 GB, free: 2.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.5691, allocations: 59.33 kB / 0.5575 GB, free: 2.316 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.5693, allocations: 185.4 kB / 0.5576 GB, free: 2.148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.5693, allocations: 29.7 kB / 0.5577 GB, free: 2.113 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.5693, allocations: 106.8 kB / 0.5578 GB, free: 2.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.5694, allocations: 23.59 kB / 0.5578 GB, free: 2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.5694, allocations: 0 / 0.5578 GB, free: 2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.5694, allocations: 322.4 kB / 0.5581 GB, free: 1.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.5695, allocations: 23.67 kB / 0.5581 GB, free: 1.664 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.474e-05/0.5695, allocations: 32.89 kB / 0.5582 GB, free: 1.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.5696, allocations: 23.67 kB / 0.5582 GB, free: 1.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5696, allocations: 0 / 0.5582 GB, free: 1.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001098/0.5697, allocations: 89.22 kB / 0.5583 GB, free: 1.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5697, allocations: 4 kB / 0.5583 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5697, allocations: 0 / 0.5583 GB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.5697, allocations: 4 kB / 0.5583 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.5698, allocations: 20.02 kB / 0.5583 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5698, allocations: 0 / 0.5583 GB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.209e-05/0.5699, allocations: 4 kB / 0.5583 GB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.5699, allocations: 7.516 kB / 0.5583 GB, free: 1.504 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 6.146e-05/0.57, allocations: 109 kB / 0.5584 GB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.57, allocations: 15.81 kB / 0.5584 GB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.5702, allocations: 110.8 kB / 0.5585 GB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5702, allocations: 0 / 0.5585 GB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5702, allocations: 4 kB / 0.5585 GB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.5702, allocations: 0 / 0.5585 GB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.5705, allocations: 381.8 kB / 0.5589 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5705, allocations: 0 / 0.5589 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.5706, allocations: 15.98 kB / 0.5589 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5706, allocations: 0 / 0.5589 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.5706, allocations: 0 / 0.5589 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.5706, allocations: 7.938 kB / 0.5589 GB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5706, allocations: 4.031 kB / 0.5589 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.5707, allocations: 213.5 kB / 0.5591 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.5708, allocations: 96.88 kB / 0.5592 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.5708, allocations: 3.938 kB / 0.5592 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.5709, allocations: 4.188 kB / 0.5592 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.5709, allocations: 19.88 kB / 0.5592 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.571, allocations: 7.875 kB / 0.5592 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.423e-05/0.571, allocations: 144.3 kB / 0.5594 GB, free: 400 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.571, allocations: 0 / 0.5594 GB, free: 400 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.5713, allocations: 31.88 kB / 0.5594 GB, free: 372 kB / 362.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.000816/0.5721, allocations: 388.8 kB / 0.5598 GB, free: 40 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.5723, allocations: 59.22 kB / 0.5598 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5723, allocations: 0 / 0.5598 GB, free: 15.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.117e-05/0.5723, allocations: 31.25 kB / 0.5599 GB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.5726, allocations: 31.97 kB / 0.5599 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.573, allocations: 157.3 kB / 0.5601 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.5733, allocations: 0.7117 MB / 0.5607 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.5734, allocations: 16.55 kB / 0.5608 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.5734, allocations: 19.44 kB / 0.5608 GB, free: 15.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5734, allocations: 0 / 0.5608 GB, free: 15.02 MB / 378.7 MB Notification: Performance of Templates: time 0.004389/0.5778, allocations: 1.641 MB / 0.5624 GB, free: 13.4 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches