Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 176 kB / 18.08 MB, free: 3.637 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.381/1.381, allocations: 223.3 MB / 242.1 MB, free: 9.977 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.0007706/0.0007703, allocations: 95.69 kB / 293.3 MB, free: 10.58 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.3282/0.3282, allocations: 44.14 MB / 388.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003801, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3724, allocations: 61.87 MB / 0.5107 GB, free: 37.89 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.115/0.4874, allocations: 89.54 MB / 0.5982 GB, free: 5.539 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4877, allocations: 71.95 kB / 0.5982 GB, free: 5.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01663/0.5043, allocations: 6.193 MB / 0.6043 GB, free: 15.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5044, allocations: 0 / 0.6043 GB, free: 15.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.293e-05/0.5044, allocations: 4 kB / 0.6043 GB, free: 15.27 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.0006132/0.505, allocations: 403.2 kB / 0.6047 GB, free: 14.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.5051, allocations: 12.03 kB / 0.6047 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.5052, allocations: 16.78 kB / 0.6047 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.5055, allocations: 212.1 kB / 0.6049 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.5055, allocations: 384 / 0.6049 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.5056, allocations: 384 / 0.6049 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.5058, allocations: 75.94 kB / 0.605 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5058, allocations: 192 / 0.605 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.5058, allocations: 7.938 kB / 0.605 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5058, allocations: 0 / 0.605 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/0.5059, allocations: 31.92 kB / 0.605 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.5064, allocations: 277 kB / 0.6053 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.5065, allocations: 62.61 kB / 0.6053 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.5066, allocations: 20.84 kB / 0.6054 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.5066, allocations: 4 kB / 0.6054 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.5068, allocations: 75.23 kB / 0.6054 GB, free: 13.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.5068, allocations: 0 / 0.6054 GB, free: 13.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000605/0.5074, allocations: 173.2 kB / 0.6056 GB, free: 13.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.5075, allocations: 81.11 kB / 0.6057 GB, free: 13.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.5076, allocations: 151.7 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.5077, allocations: 29.7 kB / 0.6059 GB, free: 13.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.5077, allocations: 96.14 kB / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.5078, allocations: 23.7 kB / 0.606 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.5078, allocations: 0 / 0.606 GB, free: 13.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5079, allocations: 327 kB / 0.6063 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.508, allocations: 23.98 kB / 0.6063 GB, free: 12.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.5081, allocations: 42.5 kB / 0.6063 GB, free: 12.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.5082, allocations: 73.66 kB / 0.6064 GB, free: 12.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5082, allocations: 0 / 0.6064 GB, free: 12.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.5084, allocations: 89.59 kB / 0.6065 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5085, allocations: 8 kB / 0.6065 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5085, allocations: 3.938 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5085, allocations: 3.938 kB / 0.6065 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.5086, allocations: 19.98 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.5086, allocations: 4 kB / 0.6065 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.5087, allocations: 4.031 kB / 0.6065 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5087, allocations: 4 kB / 0.6065 GB, free: 12.72 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.000121/0.5088, allocations: 133.7 kB / 0.6067 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.5088, allocations: 7.906 kB / 0.6067 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.5091, allocations: 114.3 kB / 0.6068 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5091, allocations: 4 kB / 0.6068 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.5091, allocations: 0 / 0.6068 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5091, allocations: 0 / 0.6068 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005375/0.5097, allocations: 411.1 kB / 0.6072 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5097, allocations: 0 / 0.6072 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.5097, allocations: 19.92 kB / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5098, allocations: 0 / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.5098, allocations: 0 / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5098, allocations: 4.375 kB / 0.6072 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5098, allocations: 3.938 kB / 0.6072 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.51, allocations: 212.3 kB / 0.6074 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.5101, allocations: 89.38 kB / 0.6075 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.5101, allocations: 12 kB / 0.6075 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.5102, allocations: 7.984 kB / 0.6075 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.5103, allocations: 7.938 kB / 0.6075 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.5103, allocations: 3.938 kB / 0.6075 GB, free: 11.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.5104, allocations: 126.2 kB / 0.6077 GB, free: 11.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5104, allocations: 4 kB / 0.6077 GB, free: 11.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000282/0.5107, allocations: 35.98 kB / 0.6077 GB, free: 11.44 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.001125/0.5118, allocations: 0.5045 MB / 0.6082 GB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.512, allocations: 63.91 kB / 0.6082 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.512, allocations: 0 / 0.6082 GB, free: 11.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.5121, allocations: 35.92 kB / 0.6083 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.5125, allocations: 27.53 kB / 0.6083 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000435/0.5129, allocations: 214 kB / 0.6085 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.5132, allocations: 0.7043 MB / 0.6092 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.956e-05/0.5133, allocations: 16.84 kB / 0.6092 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.5134, allocations: 23.42 kB / 0.6092 GB, free: 9.996 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5134, allocations: 0 / 0.6092 GB, free: 9.996 MB / 426.7 MB Notification: Performance of Templates: time 0.004846/0.5182, allocations: 1.895 MB / 0.6111 GB, free: 8.121 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches