Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008436/0.0008436, allocations: 179 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.351/1.351, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0008721/0.0008725, allocations: 98.34 kB / 293.3 MB, free: 10.79 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.3293/0.3293, allocations: 44.15 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 20 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3405, allocations: 61.89 MB / 0.5107 GB, free: 38.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.4663, allocations: 89.53 MB / 0.5982 GB, free: 5.559 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.4666, allocations: 79.95 kB / 0.5983 GB, free: 5.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0158/0.4824, allocations: 6.178 MB / 0.6043 GB, free: 15.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4825, allocations: 0 / 0.6043 GB, free: 15.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.4825, allocations: 4 kB / 0.6043 GB, free: 15.3 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.0005291/0.483, allocations: 411.1 kB / 0.6047 GB, free: 14.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4831, allocations: 12.03 kB / 0.6047 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.4831, allocations: 8.844 kB / 0.6047 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.4834, allocations: 208.1 kB / 0.6049 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4834, allocations: 384 / 0.6049 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.4835, allocations: 8.312 kB / 0.6049 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.4836, allocations: 71.94 kB / 0.605 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4837, allocations: 4.172 kB / 0.605 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.4837, allocations: 11.94 kB / 0.605 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4837, allocations: 0 / 0.605 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.358e-05/0.4838, allocations: 23.92 kB / 0.605 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.4842, allocations: 277 kB / 0.6053 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.4843, allocations: 70.61 kB / 0.6053 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.4844, allocations: 20.84 kB / 0.6054 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.4844, allocations: 4 kB / 0.6054 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.4846, allocations: 75.22 kB / 0.6054 GB, free: 13.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4846, allocations: 0 / 0.6054 GB, free: 13.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005582/0.4852, allocations: 173.2 kB / 0.6056 GB, free: 13.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.4852, allocations: 85.11 kB / 0.6057 GB, free: 13.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.4854, allocations: 151.7 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4855, allocations: 29.7 kB / 0.6059 GB, free: 13.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/0.4855, allocations: 96.12 kB / 0.606 GB, free: 13.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.4855, allocations: 19.72 kB / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.4856, allocations: 0 / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4857, allocations: 327 kB / 0.6063 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.4857, allocations: 23.98 kB / 0.6063 GB, free: 13.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.4858, allocations: 42.56 kB / 0.6063 GB, free: 12.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.4859, allocations: 65.64 kB / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4859, allocations: 0 / 0.6064 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.4861, allocations: 97.52 kB / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.4862, allocations: 11.98 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4862, allocations: 3.938 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4862, allocations: 4.062 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.4863, allocations: 16 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4863, allocations: 4 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.4864, allocations: 3.984 kB / 0.6065 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.4864, allocations: 4 kB / 0.6065 GB, free: 12.74 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.0001046/0.4865, allocations: 125.7 kB / 0.6067 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.4865, allocations: 7.906 kB / 0.6067 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.4868, allocations: 122.6 kB / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4868, allocations: 4 kB / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4868, allocations: 0 / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4868, allocations: 0 / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.4873, allocations: 411.1 kB / 0.6072 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.4873, allocations: 3.984 kB / 0.6072 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.4873, allocations: 15.94 kB / 0.6072 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4873, allocations: 0 / 0.6072 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.4874, allocations: 4.031 kB / 0.6072 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4874, allocations: 4 kB / 0.6072 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4874, allocations: 3.938 kB / 0.6072 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.4876, allocations: 216.2 kB / 0.6074 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.4877, allocations: 81.02 kB / 0.6075 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.4877, allocations: 8.375 kB / 0.6075 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.4878, allocations: 11.98 kB / 0.6075 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.4879, allocations: 11.94 kB / 0.6075 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.4879, allocations: 0 / 0.6075 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.488, allocations: 126.2 kB / 0.6077 GB, free: 11.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.488, allocations: 0 / 0.6077 GB, free: 11.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.4883, allocations: 35.98 kB / 0.6077 GB, free: 11.46 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.001148/0.4894, allocations: 0.5053 MB / 0.6082 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.4896, allocations: 67.91 kB / 0.6082 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4897, allocations: 4 kB / 0.6083 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.512e-05/0.4897, allocations: 35.91 kB / 0.6083 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.4901, allocations: 27.97 kB / 0.6083 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.4905, allocations: 210.5 kB / 0.6085 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.4907, allocations: 0.7043 MB / 0.6092 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.85e-05/0.4908, allocations: 12.55 kB / 0.6092 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.4909, allocations: 23.42 kB / 0.6092 GB, free: 10.02 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4909, allocations: 0 / 0.6092 GB, free: 10.02 MB / 426.7 MB Notification: Performance of Templates: time 0.004362/0.4952, allocations: 1.912 MB / 0.6111 GB, free: 8.125 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches