Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001473/0.001473, allocations: 186 kB / 16.4 MB, free: 5.699 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.881/1.881, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001094/0.001094, allocations: 92.56 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3278, allocations: 47.56 MB / 374.5 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.968/2.296, allocations: 0.7546 GB / 1.12 GB, free: 3.445 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/2.296, allocations: 76.41 kB / 1.12 GB, free: 3.406 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4654/2.762, allocations: 61.88 MB / 1.181 GB, free: 118.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/2.762, allocations: 0 / 1.181 GB, free: 118.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/2.762, allocations: 4 kB / 1.181 GB, free: 118.6 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.0008838/2.763, allocations: 495.5 kB / 1.181 GB, free: 118 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/2.763, allocations: 12.03 kB / 1.181 GB, free: 118 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009816/2.773, allocations: 0.7058 MB / 1.182 GB, free: 117.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/2.773, allocations: 282.7 kB / 1.182 GB, free: 117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/2.773, allocations: 8.328 kB / 1.182 GB, free: 117 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/2.774, allocations: 16 kB / 1.182 GB, free: 117 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/2.776, allocations: 0.6995 MB / 1.183 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/2.776, allocations: 0 / 1.183 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/2.776, allocations: 12 kB / 1.183 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/2.776, allocations: 7.953 kB / 1.183 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/2.779, allocations: 0.7767 MB / 1.184 GB, free: 115.5 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.004125/2.783, allocations: 1.218 MB / 1.185 GB, free: 114.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/2.784, allocations: 318.6 kB / 1.185 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007926/2.785, allocations: 258.2 kB / 1.186 GB, free: 113.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/2.785, allocations: 34.52 kB / 1.186 GB, free: 113.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.585e-06/2.785, allocations: 0 / 1.186 GB, free: 113.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.00216/2.787, allocations: 0.5444 MB / 1.186 GB, free: 113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/2.787, allocations: 93.05 kB / 1.186 GB, free: 112.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/2.787, allocations: 120.9 kB / 1.186 GB, free: 112.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/2.787, allocations: 29.7 kB / 1.186 GB, free: 112.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/2.787, allocations: 186.6 kB / 1.187 GB, free: 112.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/2.788, allocations: 98.62 kB / 1.187 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/2.788, allocations: 8 kB / 1.187 GB, free: 112.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/2.788, allocations: 322.8 kB / 1.187 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/2.788, allocations: 179.9 kB / 1.187 GB, free: 111.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/2.789, allocations: 285.1 kB / 1.187 GB, free: 111.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/2.79, allocations: 218.9 kB / 1.188 GB, free: 111.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/2.79, allocations: 0 / 1.188 GB, free: 111.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001669/2.791, allocations: 0.501 MB / 1.188 GB, free: 110.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/2.792, allocations: 8 kB / 1.188 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/2.792, allocations: 0 / 1.188 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/2.792, allocations: 15.94 kB / 1.188 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009457/2.793, allocations: 71.89 kB / 1.188 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/2.793, allocations: 8 kB / 1.188 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/2.793, allocations: 48.06 kB / 1.188 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/2.793, allocations: 20 kB / 1.188 GB, free: 110.7 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.0002274/2.794, allocations: 141.7 kB / 1.188 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/2.794, allocations: 15.89 kB / 1.188 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/2.796, allocations: 494.4 kB / 1.189 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/2.796, allocations: 7.953 kB / 1.189 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/2.796, allocations: 0 / 1.189 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/2.796, allocations: 0 / 1.189 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/2.797, allocations: 0.4911 MB / 1.189 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/2.797, allocations: 4 kB / 1.189 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009254/2.798, allocations: 59.94 kB / 1.189 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/2.798, allocations: 0 / 1.189 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/2.798, allocations: 19.88 kB / 1.189 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/2.798, allocations: 8 kB / 1.189 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/2.798, allocations: 0 / 1.189 GB, free: 109.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/2.8, allocations: 0.6773 MB / 1.19 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.546e-05/2.8, allocations: 100.8 kB / 1.19 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/2.8, allocations: 7.938 kB / 1.19 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000808/2.801, allocations: 27.97 kB / 1.19 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/2.801, allocations: 11.98 kB / 1.19 GB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/2.801, allocations: 23.97 kB / 1.19 GB, free: 108.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.377e-05/2.801, allocations: 95.27 kB / 1.19 GB, free: 108.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.353e-06/2.801, allocations: 0 / 1.19 GB, free: 108.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001138/2.802, allocations: 211.8 kB / 1.191 GB, free: 108.2 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.001745/2.804, allocations: 0.7376 MB / 1.191 GB, free: 107.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/2.805, allocations: 423.5 kB / 1.192 GB, free: 107.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/2.805, allocations: 4 kB / 1.192 GB, free: 107.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/2.806, allocations: 207.8 kB / 1.192 GB, free: 106.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009952/2.807, allocations: 93.38 kB / 1.192 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/2.809, allocations: 1.088 MB / 1.193 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/2.809, allocations: 0.7484 MB / 1.194 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/2.81, allocations: 31.42 kB / 1.194 GB, free: 104.9 MB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/2.81, allocations: 0 / 1.194 GB, free: 104.9 MB / 426.7 MB Notification: Performance of Templates: time 0.01865/2.828, allocations: 9.593 MB / 1.203 GB, free: 95.23 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches