Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001219, allocations: 176.6 kB / 17.06 MB, free: 5.098 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.356/1.356, allocations: 223.2 MB / 241 MB, free: 10.15 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.0008802/0.0008803, allocations: 102.3 kB / 292.2 MB, free: 10.71 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.341/0.341, allocations: 44.21 MB / 387.5 MB, free: 38.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.000422, allocations: 16 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3177, allocations: 61.9 MB / 0.5096 GB, free: 37.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.4312, allocations: 89.32 MB / 0.5968 GB, free: 5.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.4315, allocations: 79.92 kB / 0.5969 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.4466, allocations: 6.057 MB / 0.6028 GB, free: 15.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4466, allocations: 0 / 0.6028 GB, free: 15.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.4467, allocations: 4 kB / 0.6028 GB, free: 15.68 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006071/0.4473, allocations: 458.6 kB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4473, allocations: 8.031 kB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.4474, allocations: 19.75 kB / 0.6033 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.4478, allocations: 246.7 kB / 0.6035 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.4478, allocations: 7.953 kB / 0.6035 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.4479, allocations: 4 kB / 0.6035 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.4481, allocations: 97.02 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4481, allocations: 4 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.4481, allocations: 3.984 kB / 0.6036 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4481, allocations: 0 / 0.6036 GB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.4482, allocations: 39.97 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002916/0.4485, allocations: 218.5 kB / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.4488, allocations: 109.3 kB / 0.6039 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.4488, allocations: 7.953 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.4491, allocations: 113.1 kB / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.4491, allocations: 0 / 0.6041 GB, free: 14.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004387/0.4495, allocations: 169.4 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.4496, allocations: 136.5 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/0.4498, allocations: 199 kB / 0.6045 GB, free: 13.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.4499, allocations: 29.7 kB / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.4499, allocations: 108.1 kB / 0.6047 GB, free: 13.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.45, allocations: 39.48 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.45, allocations: 4 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4501, allocations: 327.1 kB / 0.605 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.4502, allocations: 31.97 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.4503, allocations: 74.27 kB / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.4504, allocations: 43.92 kB / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4504, allocations: 0 / 0.6052 GB, free: 12.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002468/0.4507, allocations: 153.9 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4507, allocations: 5.406 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4507, allocations: 0 / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4507, allocations: 4 kB / 0.6053 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4508, allocations: 23.92 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4509, allocations: 4 kB / 0.6054 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.4509, allocations: 4 kB / 0.6054 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.451, allocations: 8 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001059/0.4511, allocations: 138.4 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.4511, allocations: 19.77 kB / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003293/0.4514, allocations: 162.5 kB / 0.6057 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4515, allocations: 4 kB / 0.6057 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4515, allocations: 0 / 0.6057 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4515, allocations: 0 / 0.6057 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.4517, allocations: 225.5 kB / 0.6059 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4517, allocations: 0 / 0.6059 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.4517, allocations: 15.92 kB / 0.6059 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4518, allocations: 4 kB / 0.6059 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.4518, allocations: 7.953 kB / 0.6059 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4518, allocations: 0 / 0.6059 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4518, allocations: 0 / 0.6059 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.4521, allocations: 191.4 kB / 0.6061 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.4522, allocations: 100.9 kB / 0.6062 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.4522, allocations: 7.953 kB / 0.6062 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.4523, allocations: 16.17 kB / 0.6062 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.4524, allocations: 7.984 kB / 0.6062 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4524, allocations: 8 kB / 0.6062 GB, free: 11.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001622/0.4525, allocations: 164.2 kB / 0.6064 GB, free: 11.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4526, allocations: 0 / 0.6064 GB, free: 11.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.4528, allocations: 43.94 kB / 0.6064 GB, free: 11.55 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001063/0.4539, allocations: 463 kB / 0.6069 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.4542, allocations: 87.91 kB / 0.607 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4542, allocations: 3.938 kB / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.4543, allocations: 56.03 kB / 0.607 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.4546, allocations: 49.7 kB / 0.6071 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005658/0.4552, allocations: 295.3 kB / 0.6073 GB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.4555, allocations: 0.7166 MB / 0.608 GB, free: 10.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.339e-05/0.4556, allocations: 33.52 kB / 0.6081 GB, free: 9.973 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.4557, allocations: 27.42 kB / 0.6081 GB, free: 9.945 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4557, allocations: 0 / 0.6081 GB, free: 9.945 MB / 426.7 MB Notification: Performance of Templates: time 0.005261/0.461, allocations: 2.551 MB / 0.6106 GB, free: 7.43 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches