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.0008624/0.0008665, allocations: 179.2 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.241/1.241, allocations: 223.3 MB / 242.1 MB, free: 9.957 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.0007992/0.0007993, allocations: 93.67 kB / 293.3 MB, free: 10.54 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.3029/0.3029, allocations: 44.14 MB / 388.5 MB, free: 38.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 12 kB / 461.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3299, allocations: 61.89 MB / 0.5107 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.4473, allocations: 89.32 MB / 0.598 GB, free: 5.746 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4475, allocations: 79.95 kB / 0.598 GB, free: 5.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.4626, allocations: 5.773 MB / 0.6037 GB, free: 15.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4627, allocations: 0 / 0.6037 GB, free: 15.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.4627, allocations: 7.938 kB / 0.6037 GB, free: 15.89 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.0004855/0.4632, allocations: 426.9 kB / 0.6041 GB, free: 15.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4632, allocations: 8.031 kB / 0.6041 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.4633, allocations: 12.84 kB / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.4636, allocations: 246.8 kB / 0.6043 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.4636, allocations: 384 / 0.6043 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.4636, allocations: 4.375 kB / 0.6043 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.4638, allocations: 54.23 kB / 0.6044 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.4638, allocations: 4.188 kB / 0.6044 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4638, allocations: 3.938 kB / 0.6044 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4638, allocations: 0 / 0.6044 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.672e-05/0.4639, allocations: 19.98 kB / 0.6044 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.4643, allocations: 296.9 kB / 0.6047 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.4645, allocations: 66.55 kB / 0.6048 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.4645, allocations: 24.84 kB / 0.6048 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.4646, allocations: 0 / 0.6048 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.4647, allocations: 67.39 kB / 0.6049 GB, free: 14.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.4647, allocations: 0 / 0.6049 GB, free: 14.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005534/0.4653, allocations: 177.1 kB / 0.605 GB, free: 14.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.4653, allocations: 55.41 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.4656, allocations: 218.7 kB / 0.6053 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.4656, allocations: 25.7 kB / 0.6053 GB, free: 14.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.4656, allocations: 108.1 kB / 0.6054 GB, free: 13.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.4657, allocations: 27.64 kB / 0.6054 GB, free: 13.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.4657, allocations: 4 kB / 0.6054 GB, free: 13.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4658, allocations: 338.9 kB / 0.6058 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.277e-05/0.4659, allocations: 19.98 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.856e-05/0.4659, allocations: 37.7 kB / 0.6058 GB, free: 13.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.466, allocations: 57.69 kB / 0.6059 GB, free: 13.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4661, allocations: 0 / 0.6059 GB, free: 13.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001703/0.4662, allocations: 109.8 kB / 0.606 GB, free: 13.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4663, allocations: 8 kB / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4663, allocations: 0 / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.4663, allocations: 0 / 0.606 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.4664, allocations: 19.98 kB / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4664, allocations: 3.938 kB / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.4665, allocations: 4 kB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.4665, allocations: 8.156 kB / 0.606 GB, free: 13.25 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 9.353e-05/0.4666, allocations: 131.7 kB / 0.6062 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.4666, allocations: 19.84 kB / 0.6062 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.4668, allocations: 134.9 kB / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.4669, allocations: 3.984 kB / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4669, allocations: 0 / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4669, allocations: 0 / 0.6063 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.4673, allocations: 423.2 kB / 0.6067 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4673, allocations: 0 / 0.6067 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.4674, allocations: 12.03 kB / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4674, allocations: 4 kB / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.4674, allocations: 0 / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.4674, allocations: 3.984 kB / 0.6067 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.4674, allocations: 3.938 kB / 0.6067 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.4677, allocations: 220.4 kB / 0.6069 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.4677, allocations: 97.09 kB / 0.607 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.4678, allocations: 7.938 kB / 0.607 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.4678, allocations: 4 kB / 0.607 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.4679, allocations: 11.92 kB / 0.6071 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.4679, allocations: 0 / 0.6071 GB, free: 12.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.4681, allocations: 180.2 kB / 0.6072 GB, free: 11.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4681, allocations: 0 / 0.6072 GB, free: 11.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.4683, allocations: 31.94 kB / 0.6073 GB, free: 11.88 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.0009881/0.4693, allocations: 471.9 kB / 0.6077 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.4695, allocations: 59.91 kB / 0.6078 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4695, allocations: 4 kB / 0.6078 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.4696, allocations: 32.05 kB / 0.6078 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.4699, allocations: 30.8 kB / 0.6078 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.4705, allocations: 290.8 kB / 0.6081 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.4707, allocations: 0.7082 MB / 0.6088 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.863e-05/0.4708, allocations: 24.86 kB / 0.6088 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.4708, allocations: 19.42 kB / 0.6088 GB, free: 10.38 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4708, allocations: 0 / 0.6088 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Templates: time 0.004143/0.475, allocations: 1.773 MB / 0.6106 GB, free: 8.629 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/jenkins1/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