Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008932/0.0008932, allocations: 98.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2129/0.2129, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4095/0.5476, allocations: 87.71 MB / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.5478, allocations: 81.14 kB / 0.5645 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01479/0.5626, allocations: 5.384 MB / 0.5697 GB, free: 7.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5627, allocations: 0 / 0.5697 GB, free: 7.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.5627, allocations: 4 kB / 0.5698 GB, free: 7.496 MB / 378.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.0005721/0.5633, allocations: 415.2 kB / 0.5701 GB, free: 7.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5633, allocations: 12.03 kB / 0.5702 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.5634, allocations: 7.906 kB / 0.5702 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.5637, allocations: 224.7 kB / 0.5704 GB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.5637, allocations: 0 / 0.5704 GB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.5638, allocations: 4 kB / 0.5704 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.5639, allocations: 52.8 kB / 0.5704 GB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5639, allocations: 3.984 kB / 0.5704 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.564, allocations: 7.734 kB / 0.5704 GB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.564, allocations: 0 / 0.5704 GB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.5641, allocations: 23.73 kB / 0.5705 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.5645, allocations: 292.8 kB / 0.5707 GB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.5646, allocations: 63.8 kB / 0.5708 GB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.5647, allocations: 7.938 kB / 0.5708 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.5648, allocations: 66.58 kB / 0.5709 GB, free: 6.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.5649, allocations: 3.938 kB / 0.5709 GB, free: 6.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005516/0.5654, allocations: 181.3 kB / 0.5711 GB, free: 6.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.5655, allocations: 59.34 kB / 0.5711 GB, free: 6.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.5657, allocations: 175.7 kB / 0.5713 GB, free: 5.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.5657, allocations: 25.7 kB / 0.5713 GB, free: 5.836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.5658, allocations: 99.12 kB / 0.5714 GB, free: 5.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.5658, allocations: 27.28 kB / 0.5714 GB, free: 5.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.5658, allocations: 3.625 kB / 0.5714 GB, free: 5.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5659, allocations: 322.4 kB / 0.5717 GB, free: 5.402 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.566, allocations: 23.11 kB / 0.5718 GB, free: 5.387 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.5661, allocations: 32.95 kB / 0.5718 GB, free: 5.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.5662, allocations: 26.94 kB / 0.5718 GB, free: 5.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5662, allocations: 0 / 0.5718 GB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.5664, allocations: 111.3 kB / 0.5719 GB, free: 5.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.5664, allocations: 7.438 kB / 0.5719 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5664, allocations: 4 kB / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.5664, allocations: 0 / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.5665, allocations: 15.98 kB / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.5665, allocations: 0 / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.845e-05/0.5666, allocations: 11.45 kB / 0.572 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.5666, allocations: 4 kB / 0.572 GB, free: 5.207 MB / 378.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.0001171/0.5667, allocations: 137 kB / 0.5721 GB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.5667, allocations: 7.906 kB / 0.5721 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.567, allocations: 119.8 kB / 0.5722 GB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.567, allocations: 4 kB / 0.5722 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5671, allocations: 0 / 0.5722 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5671, allocations: 0 / 0.5722 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.5675, allocations: 416.8 kB / 0.5726 GB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5676, allocations: 8.016 kB / 0.5726 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.5676, allocations: 8 kB / 0.5726 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5676, allocations: 0 / 0.5726 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.5676, allocations: 4 kB / 0.5726 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5676, allocations: 3.953 kB / 0.5726 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5676, allocations: 0 / 0.5726 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.5679, allocations: 230 kB / 0.5729 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.568, allocations: 92.92 kB / 0.5729 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.568, allocations: 7.891 kB / 0.573 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.5681, allocations: 7.984 kB / 0.573 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.5681, allocations: 4 kB / 0.573 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.5682, allocations: 8 kB / 0.573 GB, free: 4.145 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.5683, allocations: 143.7 kB / 0.5731 GB, free: 4.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5683, allocations: 0 / 0.5731 GB, free: 4.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.5686, allocations: 35.11 kB / 0.5731 GB, free: 3.992 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) * 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.001029/0.5696, allocations: 475.9 kB / 0.5736 GB, free: 3.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.5698, allocations: 64.52 kB / 0.5737 GB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5698, allocations: 8 kB / 0.5737 GB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.374e-05/0.5699, allocations: 27.88 kB / 0.5737 GB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.5702, allocations: 24.66 kB / 0.5737 GB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.5706, allocations: 244.7 kB / 0.574 GB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.5709, allocations: 0.7056 MB / 0.5746 GB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.571, allocations: 24.83 kB / 0.5747 GB, free: 2.473 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.5711, allocations: 16.69 kB / 0.5747 GB, free: 2.457 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5711, allocations: 0 / 0.5747 GB, free: 2.457 MB / 378.7 MB Notification: Performance of Templates: time 0.004095/0.5752, allocations: 1.675 MB / 0.5763 GB, free: 0.8008 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches