Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001254, allocations: 181.2 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.362/1.362, 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.0008675/0.0008676, allocations: 98.06 kB / 292.2 MB, free: 10.69 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.3364/0.3364, allocations: 44.22 MB / 387.5 MB, free: 38.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 16 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3417, allocations: 61.89 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.4419, allocations: 89.3 MB / 0.5968 GB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.4421, allocations: 87.91 kB / 0.5969 GB, free: 5.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0145/0.4566, allocations: 5.761 MB / 0.6025 GB, free: 15.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.137e-06/0.4567, allocations: 0 / 0.6025 GB, free: 15.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4567, allocations: 3.938 kB / 0.6025 GB, free: 15.97 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005502/0.4573, allocations: 434.7 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4573, allocations: 12.03 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.4574, allocations: 11.91 kB / 0.6029 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.4577, allocations: 221.6 kB / 0.6031 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4577, allocations: 7.953 kB / 0.6031 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.4577, allocations: 0 / 0.6031 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4579, allocations: 65.59 kB / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4579, allocations: 0 / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.4579, allocations: 3.984 kB / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4579, allocations: 0 / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.458, allocations: 19.98 kB / 0.6032 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.4584, allocations: 296.9 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.4586, allocations: 62.61 kB / 0.6036 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4586, allocations: 3.984 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.4588, allocations: 79.5 kB / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.4588, allocations: 0 / 0.6037 GB, free: 14.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000533/0.4593, allocations: 185 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.4594, allocations: 51.41 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.4596, allocations: 197.8 kB / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.4596, allocations: 25.7 kB / 0.6041 GB, free: 14.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.4596, allocations: 104.1 kB / 0.6042 GB, free: 14.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.4597, allocations: 27.64 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.4597, allocations: 12 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.4598, allocations: 327 kB / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.463e-05/0.4599, allocations: 19.98 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/0.4599, allocations: 41.64 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.46, allocations: 20 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.46, allocations: 0 / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.4602, allocations: 109.5 kB / 0.6047 GB, free: 13.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.4602, allocations: 11.97 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4602, allocations: 0 / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4603, allocations: 4 kB / 0.6047 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.263e-05/0.4603, allocations: 12 kB / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4604, allocations: 3.984 kB / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.4604, allocations: 4 kB / 0.6048 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.4604, allocations: 8 kB / 0.6048 GB, free: 13.41 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.0001097/0.4605, allocations: 130.5 kB / 0.6049 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.4606, allocations: 11.91 kB / 0.6049 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.4608, allocations: 127.1 kB / 0.605 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4608, allocations: 4 kB / 0.605 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4608, allocations: 0 / 0.605 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4609, allocations: 0 / 0.605 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.4613, allocations: 431.2 kB / 0.6054 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4613, allocations: 0 / 0.6054 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.4614, allocations: 19.95 kB / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4614, allocations: 0 / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4614, allocations: 4.281 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4614, allocations: 0 / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4614, allocations: 0 / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.4616, allocations: 229.8 kB / 0.6057 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.347e-05/0.4617, allocations: 100.9 kB / 0.6058 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.4618, allocations: 8 kB / 0.6058 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.4618, allocations: 0 / 0.6058 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.4619, allocations: 7.984 kB / 0.6058 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4619, allocations: 7.953 kB / 0.6058 GB, free: 12.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.4621, allocations: 172.3 kB / 0.606 GB, free: 12.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4621, allocations: 4 kB / 0.606 GB, free: 12.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.4623, allocations: 31.94 kB / 0.606 GB, free: 12.03 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.000975/0.4633, allocations: 478.3 kB / 0.6065 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.4635, allocations: 55.92 kB / 0.6065 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4635, allocations: 0 / 0.6065 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.4636, allocations: 39.98 kB / 0.6065 GB, free: 11.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.4638, allocations: 30.97 kB / 0.6066 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.4643, allocations: 278.9 kB / 0.6068 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.4645, allocations: 0.7238 MB / 0.6075 GB, free: 10.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.4646, allocations: 20.84 kB / 0.6076 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.4646, allocations: 19.44 kB / 0.6076 GB, free: 10.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4646, allocations: 0 / 0.6076 GB, free: 10.52 MB / 426.7 MB Notification: Performance of Templates: time 0.003711/0.4684, allocations: 1.752 MB / 0.6093 GB, free: 8.789 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches