Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 177 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.381/1.381, allocations: 223.2 MB / 241 MB, free: 11.89 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.000881/0.0008809, allocations: 95.84 kB / 292.1 MB, free: 10.92 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.3474/0.3474, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3273, allocations: 61.91 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.4435, allocations: 89.25 MB / 0.5967 GB, free: 5.883 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4438, allocations: 83.92 kB / 0.5968 GB, free: 5.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01649/0.4603, allocations: 5.48 MB / 0.6022 GB, free: 336 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4603, allocations: 4 kB / 0.6022 GB, free: 332 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.4604, allocations: 7.938 kB / 0.6022 GB, free: 324 kB / 410.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.00069/0.4611, allocations: 414.9 kB / 0.6026 GB, free: 15.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.4611, allocations: 8.031 kB / 0.6026 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.328e-05/0.4612, allocations: 7.906 kB / 0.6026 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.4616, allocations: 223.7 kB / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.4616, allocations: 3.953 kB / 0.6028 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.4617, allocations: 4 kB / 0.6028 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.4618, allocations: 53.67 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.4619, allocations: 0 / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4619, allocations: 4 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4619, allocations: 4 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.462, allocations: 19.98 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.4625, allocations: 300.8 kB / 0.6032 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.4627, allocations: 50.69 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4628, allocations: 7.938 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.463, allocations: 71.5 kB / 0.6033 GB, free: 15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.093e-06/0.463, allocations: 0 / 0.6033 GB, free: 15 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006591/0.4636, allocations: 173.2 kB / 0.6035 GB, free: 14.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4637, allocations: 51.41 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.4639, allocations: 171.1 kB / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4639, allocations: 25.7 kB / 0.6037 GB, free: 14.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.464, allocations: 112.1 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.464, allocations: 27.64 kB / 0.6038 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.464, allocations: 0 / 0.6038 GB, free: 14.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4641, allocations: 330.8 kB / 0.6041 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.4642, allocations: 12 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.4643, allocations: 37.7 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.17e-05/0.4643, allocations: 32.17 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4644, allocations: 0 / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001862/0.4645, allocations: 105.4 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4646, allocations: 4 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.4646, allocations: 3.984 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4646, allocations: 3.984 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.4647, allocations: 16 kB / 0.6043 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4647, allocations: 0 / 0.6043 GB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.4648, allocations: 8 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.4648, allocations: 3.984 kB / 0.6044 GB, free: 13.86 MB / 426.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.0001065/0.4649, allocations: 132.4 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.4649, allocations: 12.28 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.4652, allocations: 122.3 kB / 0.6046 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4652, allocations: 3.938 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4652, allocations: 0 / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.4652, allocations: 7.984 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.4657, allocations: 411.3 kB / 0.605 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4658, allocations: 288 / 0.605 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.4658, allocations: 12 kB / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4658, allocations: 0 / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4658, allocations: 7.938 kB / 0.605 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.4658, allocations: 7.984 kB / 0.605 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4659, allocations: 0 / 0.605 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.4661, allocations: 229.8 kB / 0.6053 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.4662, allocations: 93 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.4662, allocations: 4 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.4663, allocations: 0 / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.4664, allocations: 11.98 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.4664, allocations: 7.953 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.4665, allocations: 148.9 kB / 0.6055 GB, free: 12.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4665, allocations: 4 kB / 0.6055 GB, free: 12.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.4668, allocations: 31.94 kB / 0.6056 GB, free: 12.52 MB / 426.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.001041/0.4678, allocations: 476.2 kB / 0.606 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.468, allocations: 63.97 kB / 0.6061 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.468, allocations: 0 / 0.6061 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.4681, allocations: 35.92 kB / 0.6061 GB, free: 12.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.4684, allocations: 27.92 kB / 0.6061 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004852/0.4689, allocations: 246.4 kB / 0.6064 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.4692, allocations: 0.716 MB / 0.6071 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.837e-05/0.4693, allocations: 12.5 kB / 0.6071 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.4693, allocations: 23.42 kB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4693, allocations: 0 / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of Templates: time 0.004364/0.4737, allocations: 1.684 MB / 0.6087 GB, free: 9.379 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches