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.001305/0.00131, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.868/1.868, allocations: 205.4 MB / 223.1 MB, free: 9.027 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.0009317/0.0009318, allocations: 90.72 kB / 271.5 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 4 kB / 328.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3505, allocations: 47.56 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.198/2.548, allocations: 0.7546 GB / 1.122 GB, free: 116.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/2.549, allocations: 77.88 kB / 1.122 GB, free: 116.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1243/2.673, allocations: 61.89 MB / 1.182 GB, free: 100.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.438e-06/2.673, allocations: 0 / 1.182 GB, free: 100.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/2.673, allocations: 4 kB / 1.182 GB, free: 100.7 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.001195/2.674, allocations: 491 kB / 1.183 GB, free: 100.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/2.674, allocations: 12.03 kB / 1.183 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005586/2.68, allocations: 0.7028 MB / 1.183 GB, free: 99.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/2.68, allocations: 276.1 kB / 1.184 GB, free: 99.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/2.681, allocations: 15.89 kB / 1.184 GB, free: 99.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/2.681, allocations: 15.12 kB / 1.184 GB, free: 99.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/2.682, allocations: 0.6984 MB / 1.184 GB, free: 98.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/2.682, allocations: 0 / 1.184 GB, free: 98.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/2.682, allocations: 9.062 kB / 1.184 GB, free: 98.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/2.682, allocations: 11.95 kB / 1.184 GB, free: 98.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/2.684, allocations: 0.7759 MB / 1.185 GB, free: 98.16 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.002546/2.686, allocations: 1.226 MB / 1.186 GB, free: 96.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/2.687, allocations: 313 kB / 1.187 GB, free: 96.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005528/2.688, allocations: 258.3 kB / 1.187 GB, free: 96.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/2.688, allocations: 34.52 kB / 1.187 GB, free: 96.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/2.688, allocations: 0 / 1.187 GB, free: 96.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001209/2.689, allocations: 0.5444 MB / 1.187 GB, free: 95.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/2.689, allocations: 85.05 kB / 1.187 GB, free: 95.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/2.689, allocations: 121 kB / 1.188 GB, free: 95.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.307e-05/2.689, allocations: 33.7 kB / 1.188 GB, free: 95.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/2.689, allocations: 120.2 kB / 1.188 GB, free: 95.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/2.689, allocations: 98.64 kB / 1.188 GB, free: 95.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/2.689, allocations: 4 kB / 1.188 GB, free: 95.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.768e-05/2.689, allocations: 322.8 kB / 1.188 GB, free: 94.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/2.69, allocations: 179.9 kB / 1.188 GB, free: 94.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/2.69, allocations: 289.1 kB / 1.189 GB, free: 94.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/2.69, allocations: 209.5 kB / 1.189 GB, free: 94.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/2.69, allocations: 4 kB / 1.189 GB, free: 94.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008859/2.691, allocations: 0.505 MB / 1.189 GB, free: 93.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/2.691, allocations: 4 kB / 1.189 GB, free: 93.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/2.691, allocations: 4.391 kB / 1.189 GB, free: 93.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/2.691, allocations: 7.953 kB / 1.189 GB, free: 93.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/2.692, allocations: 83.88 kB / 1.189 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/2.692, allocations: 4 kB / 1.189 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/2.692, allocations: 43.92 kB / 1.189 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/2.692, allocations: 23.92 kB / 1.189 GB, free: 93.47 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.0001572/2.692, allocations: 145.8 kB / 1.19 GB, free: 93.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/2.693, allocations: 11.91 kB / 1.19 GB, free: 93.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/2.694, allocations: 0.4892 MB / 1.19 GB, free: 92.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/2.694, allocations: 15.95 kB / 1.19 GB, free: 92.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/2.694, allocations: 0 / 1.19 GB, free: 92.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/2.694, allocations: 7.984 kB / 1.19 GB, free: 92.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/2.694, allocations: 498.8 kB / 1.191 GB, free: 92.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/2.694, allocations: 0 / 1.191 GB, free: 92.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/2.695, allocations: 55.89 kB / 1.191 GB, free: 92.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/2.695, allocations: 4 kB / 1.191 GB, free: 92.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/2.695, allocations: 15.94 kB / 1.191 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/2.695, allocations: 0 / 1.191 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/2.695, allocations: 4 kB / 1.191 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/2.696, allocations: 0.6748 MB / 1.191 GB, free: 91.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/2.696, allocations: 96.89 kB / 1.191 GB, free: 91.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/2.696, allocations: 8 kB / 1.191 GB, free: 91.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/2.696, allocations: 23.92 kB / 1.191 GB, free: 91.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/2.697, allocations: 27.98 kB / 1.191 GB, free: 91.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/2.697, allocations: 15.98 kB / 1.191 GB, free: 91.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.957e-05/2.697, allocations: 99.27 kB / 1.192 GB, free: 91.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/2.697, allocations: 0 / 1.192 GB, free: 91.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001073/2.698, allocations: 211.9 kB / 1.192 GB, free: 90.98 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.001212/2.699, allocations: 0.7317 MB / 1.192 GB, free: 90.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000785/2.7, allocations: 439.5 kB / 1.193 GB, free: 89.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/2.7, allocations: 0 / 1.193 GB, free: 89.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003349/2.7, allocations: 207.7 kB / 1.193 GB, free: 89.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/2.701, allocations: 88.67 kB / 1.193 GB, free: 89.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/2.702, allocations: 1.051 MB / 1.194 GB, free: 88.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/2.702, allocations: 0.7523 MB / 1.195 GB, free: 87.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006943/2.703, allocations: 109.4 kB / 1.195 GB, free: 87.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/2.703, allocations: 27.42 kB / 1.195 GB, free: 87.54 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/2.703, allocations: 0 / 1.195 GB, free: 87.54 MB / 426.7 MB Notification: Performance of Templates: time 0.01791/2.721, allocations: 14.58 MB / 1.209 GB, free: 72.95 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