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.00148/0.00148, allocations: 176.1 kB / 16.72 MB, free: 4.953 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.277/1.277, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0009097/0.0009094, allocations: 88.86 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003065, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2134, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3301/0.5435, allocations: 136.9 MB / 0.5 GB, free: 1.523 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.5454, allocations: 1.936 MB / 0.5019 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.5455, allocations: 0 / 0.5019 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.5458, allocations: 53.34 kB / 0.502 GB, free: 1.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.547, allocations: 0.5305 MB / 0.5025 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.5472, allocations: 94.52 kB / 0.5026 GB, free: 1.469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.5476, allocations: 304.9 kB / 0.5029 GB, free: 1.469 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.765e-05/0.5476, allocations: 3.594 kB / 0.5029 GB, free: 1.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.5479, allocations: 127.4 kB / 0.503 GB, free: 1.469 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.548, allocations: 101.7 kB / 0.5031 GB, free: 1.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.5481, allocations: 5.75 kB / 0.5031 GB, free: 1.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.5498, allocations: 1.269 MB / 0.5043 GB, free: 1.457 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.355e-05/0.5499, allocations: 82.69 kB / 0.5044 GB, free: 1.457 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.5502, allocations: 122.6 kB / 0.5045 GB, free: 17.43 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006681/0.5508, allocations: 0.5038 MB / 0.505 GB, free: 17.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5509, allocations: 0 / 0.505 GB, free: 17.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5509, allocations: 0 / 0.505 GB, free: 17.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.5509, allocations: 3.312 kB / 0.505 GB, free: 17.4 MB / 394.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.0006547/0.5515, allocations: 466.5 kB / 0.5055 GB, free: 16.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.5516, allocations: 9.406 kB / 0.5055 GB, free: 16.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006335/0.5579, allocations: 0.7239 MB / 0.5062 GB, free: 16.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.5585, allocations: 281 kB / 0.5064 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.5585, allocations: 15.36 kB / 0.5065 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.5586, allocations: 21.12 kB / 0.5065 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.5601, allocations: 0.7131 MB / 0.5072 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5601, allocations: 0 / 0.5072 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.5602, allocations: 5.531 kB / 0.5072 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.5602, allocations: 9.344 kB / 0.5072 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.5622, allocations: 0.925 MB / 0.5081 GB, free: 16.69 MB / 394.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.004816/0.567, allocations: 2.01 MB / 0.5101 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.5681, allocations: 0.5016 MB / 0.5106 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/0.5687, allocations: 324.2 kB / 0.5109 GB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/0.5694, allocations: 270.5 kB / 0.5111 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.5695, allocations: 39.06 kB / 0.5112 GB, free: 15.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.575e-06/0.5695, allocations: 1.75 kB / 0.5112 GB, free: 15.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.002101/0.5716, allocations: 0.8975 MB / 0.512 GB, free: 15.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.5716, allocations: 79.27 kB / 0.5121 GB, free: 15.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.5718, allocations: 128.3 kB / 0.5122 GB, free: 14.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.467e-05/0.5719, allocations: 31.92 kB / 0.5123 GB, free: 14.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.5719, allocations: 120.8 kB / 0.5124 GB, free: 14.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.5721, allocations: 106.1 kB / 0.5125 GB, free: 14.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.5721, allocations: 4.531 kB / 0.5125 GB, free: 14.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5723, allocations: 326.3 kB / 0.5128 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006778/0.5729, allocations: 293.9 kB / 0.5131 GB, free: 14.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007431/0.5737, allocations: 408.7 kB / 0.5135 GB, free: 14.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.5751, allocations: 0.6831 MB / 0.5141 GB, free: 14.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.5752, allocations: 5.156 kB / 0.5141 GB, free: 14.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001693/0.5769, allocations: 0.7461 MB / 0.5149 GB, free: 14.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5769, allocations: 6.812 kB / 0.5149 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5769, allocations: 3.312 kB / 0.5149 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.5769, allocations: 5 kB / 0.5149 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.578, allocations: 100.2 kB / 0.515 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.578, allocations: 11.48 kB / 0.515 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008393/0.5788, allocations: 58.19 kB / 0.515 GB, free: 14.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.343e-05/0.5789, allocations: 22.39 kB / 0.5151 GB, free: 14.14 MB / 394.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 (41): * Single equations (assignments): 41 * 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.0002599/0.5792, allocations: 150.5 kB / 0.5152 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.5794, allocations: 20.53 kB / 0.5152 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.5814, allocations: 0.7827 MB / 0.516 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.5814, allocations: 3.094 kB / 0.516 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5814, allocations: 0.75 kB / 0.516 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.5815, allocations: 1.062 kB / 0.516 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.5826, allocations: 0.805 MB / 0.5168 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5826, allocations: 3.938 kB / 0.5168 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009716/0.5836, allocations: 80.14 kB / 0.5169 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.5836, allocations: 1.719 kB / 0.5169 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/0.5837, allocations: 18.64 kB / 0.5169 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.5837, allocations: 1.969 kB / 0.5169 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5837, allocations: 1 kB / 0.5169 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.5858, allocations: 0.9652 MB / 0.5178 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.5859, allocations: 91.55 kB / 0.5179 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/0.586, allocations: 8.422 kB / 0.5179 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/0.5869, allocations: 37.92 kB / 0.518 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.587, allocations: 17.95 kB / 0.518 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.112e-05/0.5871, allocations: 22.47 kB / 0.518 GB, free: 13.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.774e-05/0.5872, allocations: 98.52 kB / 0.5181 GB, free: 12.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5872, allocations: 0.8125 kB / 0.5181 GB, free: 12.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009314/0.5881, allocations: 186.1 kB / 0.5183 GB, free: 12.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * 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.0009616/0.5891, allocations: 350.2 kB / 0.5186 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.5904, allocations: 0.6631 MB / 0.5192 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5904, allocations: 0.8125 kB / 0.5192 GB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006086/0.591, allocations: 336 kB / 0.5196 GB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/0.5918, allocations: 96.72 kB / 0.5197 GB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.5935, allocations: 1.155 MB / 0.5208 GB, free: 12.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.5938, allocations: 0.7312 MB / 0.5215 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004757/0.5943, allocations: 51.16 kB / 0.5216 GB, free: 11.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5943, allocations: 4 kB / 0.5216 GB, free: 11.37 MB / 394.7 MB Notification: Performance of Templates: time 0.01372/0.608, allocations: 10.15 MB / 0.5315 GB, free: 6.605 MB / 394.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/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_cpp_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches