Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 182.8 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.75/1.75, 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.000893/0.0008928, allocations: 102.8 kB / 270.2 MB, free: 13.37 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.3313/0.3313, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004495, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1814, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4753/0.6568, allocations: 87.94 MB / 0.5646 GB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.6571, allocations: 78.7 kB / 0.5647 GB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01621/0.6733, allocations: 5.955 MB / 0.5705 GB, free: 7.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.6734, allocations: 0 / 0.5705 GB, free: 7.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.6734, allocations: 0 / 0.5705 GB, free: 7.051 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.0005999/0.674, allocations: 412.7 kB / 0.5709 GB, free: 6.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.674, allocations: 12.03 kB / 0.5709 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.6741, allocations: 7.906 kB / 0.5709 GB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.6744, allocations: 216.2 kB / 0.5712 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.6745, allocations: 0 / 0.5712 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.6745, allocations: 7.25 kB / 0.5712 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.6747, allocations: 65.83 kB / 0.5712 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6747, allocations: 7.938 kB / 0.5712 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.6748, allocations: 3.062 kB / 0.5712 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6748, allocations: 4 kB / 0.5712 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.096e-05/0.6749, allocations: 18.73 kB / 0.5713 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.6753, allocations: 288.9 kB / 0.5715 GB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.6755, allocations: 59.8 kB / 0.5716 GB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.6755, allocations: 3.984 kB / 0.5716 GB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.6757, allocations: 69.52 kB / 0.5717 GB, free: 5.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.046e-06/0.6757, allocations: 0 / 0.5717 GB, free: 5.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005721/0.6763, allocations: 178.6 kB / 0.5718 GB, free: 5.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.6764, allocations: 81.11 kB / 0.5719 GB, free: 5.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.6766, allocations: 143.7 kB / 0.572 GB, free: 5.426 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.6766, allocations: 29.52 kB / 0.5721 GB, free: 5.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.6767, allocations: 99.75 kB / 0.5722 GB, free: 5.301 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.6767, allocations: 23.58 kB / 0.5722 GB, free: 5.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.6767, allocations: 0 / 0.5722 GB, free: 5.281 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6769, allocations: 318.5 kB / 0.5725 GB, free: 4.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.677, allocations: 23.61 kB / 0.5725 GB, free: 4.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/0.6771, allocations: 38.38 kB / 0.5725 GB, free: 4.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/0.6772, allocations: 35.55 kB / 0.5726 GB, free: 4.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6772, allocations: 4.031 kB / 0.5726 GB, free: 4.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.6773, allocations: 103.9 kB / 0.5727 GB, free: 4.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.6774, allocations: 4 kB / 0.5727 GB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.6774, allocations: 7.953 kB / 0.5727 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.6774, allocations: 0 / 0.5727 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.6775, allocations: 15.98 kB / 0.5727 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.6775, allocations: 0 / 0.5727 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.6776, allocations: 4 kB / 0.5727 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.6776, allocations: 4 kB / 0.5727 GB, free: 4.758 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.0001365/0.6777, allocations: 137.6 kB / 0.5729 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.6777, allocations: 7.906 kB / 0.5729 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.678, allocations: 117.1 kB / 0.573 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.678, allocations: 3.953 kB / 0.573 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.678, allocations: 0 / 0.573 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6781, allocations: 4 kB / 0.573 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.6785, allocations: 406.1 kB / 0.5734 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6785, allocations: 3.938 kB / 0.5734 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.6786, allocations: 16.31 kB / 0.5734 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.6786, allocations: 4 kB / 0.5734 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.6786, allocations: 4.281 kB / 0.5734 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6786, allocations: 0 / 0.5734 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6786, allocations: 4 kB / 0.5734 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.6789, allocations: 225 kB / 0.5736 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.679, allocations: 96.72 kB / 0.5737 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.679, allocations: 4 kB / 0.5737 GB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.6791, allocations: 3.984 kB / 0.5737 GB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.6791, allocations: 7.625 kB / 0.5737 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.6791, allocations: 4 kB / 0.5737 GB, free: 3.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.208e-05/0.6792, allocations: 121.9 kB / 0.5738 GB, free: 3.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6792, allocations: 4 kB / 0.5738 GB, free: 3.605 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000287/0.6795, allocations: 39.55 kB / 0.5739 GB, free: 3.574 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.001133/0.6807, allocations: 0.4963 MB / 0.5744 GB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.6809, allocations: 63.28 kB / 0.5744 GB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6809, allocations: 0 / 0.5744 GB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.681, allocations: 31.61 kB / 0.5745 GB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.6812, allocations: 27.5 kB / 0.5745 GB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.6817, allocations: 221.5 kB / 0.5747 GB, free: 2.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.6822, allocations: 0.6999 MB / 0.5754 GB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.301e-05/0.6822, allocations: 24.53 kB / 0.5754 GB, free: 2.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.6823, allocations: 23.36 kB / 0.5754 GB, free: 2.039 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6823, allocations: 0 / 0.5754 GB, free: 2.039 MB / 378.7 MB Notification: Performance of Templates: time 0.004949/0.6873, allocations: 1.878 MB / 0.5773 GB, free: 176 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches