Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 179.4 kB / 18.09 MB, free: 3.746 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.346/1.346, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0008499/0.0008501, allocations: 95.53 kB / 293.3 MB, free: 10.8 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.3274/0.3274, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003643, allocations: 16 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3241, allocations: 61.89 MB / 0.5107 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.4284, allocations: 89.57 MB / 0.5982 GB, free: 5.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.4286, allocations: 87.92 kB / 0.5983 GB, free: 5.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02067/0.4493, allocations: 8.093 MB / 0.6062 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4493, allocations: 0 / 0.6062 GB, free: 13.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.4494, allocations: 7.938 kB / 0.6062 GB, free: 13.33 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006499/0.45, allocations: 0.5178 MB / 0.6067 GB, free: 12.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.4501, allocations: 12.03 kB / 0.6067 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/0.4501, allocations: 24.66 kB / 0.6067 GB, free: 12.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.4505, allocations: 291.5 kB / 0.607 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.4506, allocations: 8.375 kB / 0.607 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.4506, allocations: 4.375 kB / 0.607 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.4508, allocations: 111.9 kB / 0.6071 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.4509, allocations: 4.188 kB / 0.6071 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4509, allocations: 11.92 kB / 0.6072 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4509, allocations: 0 / 0.6072 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.451, allocations: 47.91 kB / 0.6072 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.4517, allocations: 488.7 kB / 0.6077 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.452, allocations: 133.2 kB / 0.6078 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.4521, allocations: 41.83 kB / 0.6078 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.4522, allocations: 0 / 0.6078 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.4524, allocations: 131.6 kB / 0.608 GB, free: 11.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.4524, allocations: 0 / 0.608 GB, free: 11.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001272/0.4537, allocations: 493 kB / 0.6084 GB, free: 10.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.4538, allocations: 93.05 kB / 0.6085 GB, free: 10.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.4542, allocations: 351 kB / 0.6089 GB, free: 10.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.4542, allocations: 29.7 kB / 0.6089 GB, free: 10.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4543, allocations: 144.5 kB / 0.609 GB, free: 10.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.4544, allocations: 63.11 kB / 0.6091 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.4544, allocations: 4 kB / 0.6091 GB, free: 10.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4546, allocations: 342.8 kB / 0.6094 GB, free: 9.789 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.4547, allocations: 63.92 kB / 0.6095 GB, free: 9.727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4549, allocations: 92.48 kB / 0.6096 GB, free: 9.625 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.4552, allocations: 163.4 kB / 0.6097 GB, free: 9.453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4552, allocations: 4 kB / 0.6097 GB, free: 9.449 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004195/0.4556, allocations: 237.1 kB / 0.6099 GB, free: 9.211 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4556, allocations: 4 kB / 0.61 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4557, allocations: 0 / 0.61 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4557, allocations: 4 kB / 0.61 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.4558, allocations: 43.86 kB / 0.61 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.4558, allocations: 4 kB / 0.61 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/0.4559, allocations: 11.98 kB / 0.61 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.456, allocations: 11.94 kB / 0.61 GB, free: 9.133 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001423/0.4561, allocations: 166.3 kB / 0.6102 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.4562, allocations: 27.7 kB / 0.6102 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.4566, allocations: 275.3 kB / 0.6105 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4567, allocations: 3.938 kB / 0.6105 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4567, allocations: 4 kB / 0.6105 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.4567, allocations: 7.969 kB / 0.6105 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009349/0.4576, allocations: 0.7701 MB / 0.6112 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4576, allocations: 0 / 0.6112 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.887e-05/0.4577, allocations: 35.98 kB / 0.6113 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4577, allocations: 128 / 0.6113 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.4578, allocations: 12 kB / 0.6113 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.4578, allocations: 7.938 kB / 0.6113 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4578, allocations: 0 / 0.6113 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.4583, allocations: 426.5 kB / 0.6117 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.51e-05/0.4584, allocations: 116.7 kB / 0.6118 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.4584, allocations: 19.92 kB / 0.6118 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.4586, allocations: 8 kB / 0.6118 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.4586, allocations: 23.91 kB / 0.6119 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.4587, allocations: 8 kB / 0.6119 GB, free: 7.113 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002809/0.4589, allocations: 269.9 kB / 0.6121 GB, free: 6.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.459, allocations: 3.938 kB / 0.6121 GB, free: 6.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003596/0.4593, allocations: 59.94 kB / 0.6122 GB, free: 6.785 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001078/0.4604, allocations: 0.5258 MB / 0.6127 GB, free: 6.465 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003278/0.4607, allocations: 167.7 kB / 0.6129 GB, free: 6.301 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4608, allocations: 0 / 0.6129 GB, free: 6.301 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.4609, allocations: 95.91 kB / 0.613 GB, free: 6.207 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.4615, allocations: 60.83 kB / 0.613 GB, free: 6.145 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.4623, allocations: 0.551 MB / 0.6135 GB, free: 5.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.4626, allocations: 0.7563 MB / 0.6143 GB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.4628, allocations: 41.94 kB / 0.6143 GB, free: 4.734 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.4628, allocations: 35.42 kB / 0.6144 GB, free: 4.699 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4628, allocations: 0 / 0.6144 GB, free: 4.699 MB / 426.7 MB Notification: Performance of Templates: time 0.005963/0.4688, allocations: 3.154 MB / 0.6174 GB, free: 1.582 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches