Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001806/0.001807, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008462/0.0008463, allocations: 89.48 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2583, allocations: 47.57 MB / 377 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.311/1.57, allocations: 0.7548 GB / 1.123 GB, free: 12.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/1.57, allocations: 83.95 kB / 1.123 GB, free: 12.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2747/1.845, allocations: 61.89 MB / 1.183 GB, free: 124.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/1.845, allocations: 0 / 1.183 GB, free: 124.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/1.845, allocations: 0 / 1.183 GB, free: 124.8 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007345/1.845, allocations: 479.5 kB / 1.184 GB, free: 124.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/1.845, allocations: 8.031 kB / 1.184 GB, free: 124.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005136/1.851, allocations: 0.6911 MB / 1.185 GB, free: 123.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/1.851, allocations: 276 kB / 1.185 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/1.851, allocations: 16.7 kB / 1.185 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/1.851, allocations: 20.31 kB / 1.185 GB, free: 123.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/1.852, allocations: 0.7001 MB / 1.186 GB, free: 122.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.852, allocations: 192 / 1.186 GB, free: 122.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/1.852, allocations: 11.94 kB / 1.186 GB, free: 122.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/1.853, allocations: 12 kB / 1.186 GB, free: 122.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.854, allocations: 0.7612 MB / 1.186 GB, free: 121.7 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/1.856, allocations: 1.234 MB / 1.188 GB, free: 120.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/1.857, allocations: 315.1 kB / 1.188 GB, free: 120.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/1.857, allocations: 205.7 kB / 1.188 GB, free: 119.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004687/1.858, allocations: 250.1 kB / 1.188 GB, free: 119.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/1.858, allocations: 42.5 kB / 1.188 GB, free: 119.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/1.858, allocations: 4 kB / 1.188 GB, free: 119.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001157/1.859, allocations: 0.5405 MB / 1.189 GB, free: 119 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/1.859, allocations: 85.02 kB / 1.189 GB, free: 118.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/1.859, allocations: 126.9 kB / 1.189 GB, free: 118.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/1.859, allocations: 33.7 kB / 1.189 GB, free: 118.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/1.859, allocations: 116.4 kB / 1.189 GB, free: 118.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/1.859, allocations: 94.56 kB / 1.189 GB, free: 118.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/1.859, allocations: 15.94 kB / 1.189 GB, free: 118.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.065e-05/1.859, allocations: 326.8 kB / 1.19 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/1.86, allocations: 179.9 kB / 1.19 GB, free: 118 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/1.86, allocations: 280.7 kB / 1.19 GB, free: 117.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/1.861, allocations: 479.1 kB / 1.191 GB, free: 117.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.861, allocations: 4 kB / 1.191 GB, free: 117.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008599/1.862, allocations: 0.5164 MB / 1.191 GB, free: 116.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.862, allocations: 14.12 kB / 1.191 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.862, allocations: 4 kB / 1.191 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/1.862, allocations: 7.984 kB / 1.191 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/1.862, allocations: 75.89 kB / 1.191 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.862, allocations: 8.344 kB / 1.191 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/1.863, allocations: 39.81 kB / 1.191 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/1.863, allocations: 20 kB / 1.191 GB, free: 116.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001263/1.863, allocations: 145.7 kB / 1.191 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.576e-05/1.863, allocations: 23.75 kB / 1.191 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009318/1.864, allocations: 478.5 kB / 1.192 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.864, allocations: 7.984 kB / 1.192 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.864, allocations: 0 / 1.192 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/1.864, allocations: 0 / 1.192 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/1.864, allocations: 498.8 kB / 1.192 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.864, allocations: 11.92 kB / 1.192 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/1.865, allocations: 59.89 kB / 1.192 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/1.865, allocations: 3.938 kB / 1.192 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/1.865, allocations: 15.92 kB / 1.192 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.865, allocations: 8 kB / 1.192 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/1.865, allocations: 4 kB / 1.192 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/1.866, allocations: 0.6649 MB / 1.193 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/1.866, allocations: 96.89 kB / 1.193 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/1.866, allocations: 7.984 kB / 1.193 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/1.867, allocations: 27.89 kB / 1.193 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/1.867, allocations: 15.97 kB / 1.193 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/1.867, allocations: 19.98 kB / 1.193 GB, free: 114.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.25e-05/1.867, allocations: 99.2 kB / 1.193 GB, free: 114.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.867, allocations: 0 / 1.193 GB, free: 114.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000859/1.868, allocations: 208 kB / 1.194 GB, free: 114 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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 Backend phase and start with SimCode phase: time 0.001226/1.869, allocations: 0.7442 MB / 1.194 GB, free: 113.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007589/1.87, allocations: 427.7 kB / 1.195 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.87, allocations: 3.938 kB / 1.195 GB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003792/1.87, allocations: 209.5 kB / 1.195 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/1.871, allocations: 92.59 kB / 1.195 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/1.872, allocations: 1.059 MB / 1.196 GB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/1.872, allocations: 0.7365 MB / 1.197 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007357/1.873, allocations: 109.4 kB / 1.197 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/1.873, allocations: 27.42 kB / 1.197 GB, free: 110.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.7e-07/1.873, allocations: 0 / 1.197 GB, free: 110.6 MB / 426.7 MB Notification: Performance of Templates: time 0.01704/1.89, allocations: 14.77 MB / 1.211 GB, free: 95.79 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches