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.00169/0.00169, allocations: 172.3 kB / 14.1 MB, free: 1.223 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.856/1.856, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.001115/0.001114, allocations: 82.67 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.941e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.286/2.398, allocations: 0.7545 GB / 1.116 GB, free: 66.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/2.399, allocations: 71.16 kB / 1.116 GB, free: 66.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1216/2.52, allocations: 61.84 MB / 1.176 GB, free: 6.246 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/2.52, allocations: 0 / 1.176 GB, free: 6.246 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/2.52, allocations: 0 / 1.176 GB, free: 6.246 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.0008522/2.521, allocations: 483.1 kB / 1.177 GB, free: 5.727 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/2.521, allocations: 8.031 kB / 1.177 GB, free: 5.719 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005238/2.526, allocations: 0.7058 MB / 1.178 GB, free: 5.012 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/2.527, allocations: 278.8 kB / 1.178 GB, free: 4.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/2.527, allocations: 16.33 kB / 1.178 GB, free: 4.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/2.527, allocations: 19.91 kB / 1.178 GB, free: 4.664 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009962/2.528, allocations: 0.6605 MB / 1.178 GB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/2.528, allocations: 0 / 1.178 GB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/2.528, allocations: 12 kB / 1.178 GB, free: 3.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/2.528, allocations: 11.95 kB / 1.178 GB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/2.529, allocations: 0.7106 MB / 1.179 GB, free: 3.254 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002406/2.532, allocations: 1.226 MB / 1.18 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/2.532, allocations: 281.1 kB / 1.181 GB, free: 1.688 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/2.532, allocations: 189.7 kB / 1.181 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005325/2.533, allocations: 254.2 kB / 1.181 GB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/2.533, allocations: 46.81 kB / 1.181 GB, free: 1.156 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/2.533, allocations: 0 / 1.181 GB, free: 1.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007236/2.534, allocations: 373.2 kB / 1.181 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/2.534, allocations: 81.11 kB / 1.182 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/2.534, allocations: 121.9 kB / 1.182 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/2.534, allocations: 25.7 kB / 1.182 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/2.534, allocations: 128.2 kB / 1.182 GB, free: 408 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/2.534, allocations: 94.64 kB / 1.182 GB, free: 312 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/2.534, allocations: 4 kB / 1.182 GB, free: 308 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.3027/2.837, allocations: 326.8 kB / 1.182 GB, free: 128.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/2.838, allocations: 159.4 kB / 1.182 GB, free: 128.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/2.838, allocations: 271.5 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/2.839, allocations: 189.9 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/2.839, allocations: 1.938 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001333/2.84, allocations: 493.3 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/2.84, allocations: 6.562 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/2.84, allocations: 6.484 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-05/2.84, allocations: 7.031 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/2.841, allocations: 80.56 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/2.841, allocations: 11.33 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/2.841, allocations: 39.3 kB / 1.183 GB, free: 128.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/2.842, allocations: 21.97 kB / 1.183 GB, free: 128.2 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 () * 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.0001984/2.842, allocations: 122.4 kB / 1.184 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/2.842, allocations: 14.97 kB / 1.184 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/2.843, allocations: 461.3 kB / 1.184 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/2.843, allocations: 2.844 kB / 1.184 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/2.843, allocations: 1.906 kB / 1.184 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/2.843, allocations: 5.438 kB / 1.184 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009096/2.844, allocations: 0.4894 MB / 1.184 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/2.844, allocations: 1.891 kB / 1.184 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/2.845, allocations: 62.97 kB / 1.185 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/2.845, allocations: 5.844 kB / 1.185 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/2.845, allocations: 11.75 kB / 1.185 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/2.845, allocations: 1.719 kB / 1.185 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/2.845, allocations: 0 / 1.185 GB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/2.846, allocations: 0.6399 MB / 1.185 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/2.846, allocations: 93.81 kB / 1.185 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/2.846, allocations: 13.14 kB / 1.185 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/2.846, allocations: 20.97 kB / 1.185 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/2.846, allocations: 19.91 kB / 1.185 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/2.846, allocations: 19.92 kB / 1.185 GB, free: 127.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.742e-05/2.847, allocations: 99.08 kB / 1.185 GB, free: 127.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.847, allocations: 0 / 1.185 GB, free: 127.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0012/2.848, allocations: 205.7 kB / 1.186 GB, free: 127.4 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 () * 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.001793/2.85, allocations: 0.7424 MB / 1.186 GB, free: 127.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008622/2.85, allocations: 399.7 kB / 1.187 GB, free: 127.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/2.85, allocations: 3.5 kB / 1.187 GB, free: 127.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003512/2.851, allocations: 188.3 kB / 1.187 GB, free: 127.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/2.851, allocations: 97.08 kB / 1.187 GB, free: 127.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/2.853, allocations: 0.7797 MB / 1.188 GB, free: 127.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/2.853, allocations: 0.7411 MB / 1.189 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008033/2.854, allocations: 107.3 kB / 1.189 GB, free: 126.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/2.854, allocations: 33.72 kB / 1.189 GB, free: 126.3 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/2.854, allocations: 0 / 1.189 GB, free: 126.3 MB / 426.7 MB Notification: Performance of Templates: time 0.03203/2.886, allocations: 16.35 MB / 1.205 GB, free: 125.3 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/jenkins/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