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.0008824/0.0008824, allocations: 179.5 kB / 16.41 MB, free: 5.707 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.252/1.252, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007227/0.0007227, allocations: 96.8 kB / 270.9 MB, free: 8.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1892, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2796/0.4689, allocations: 136.9 MB / 0.4995 GB, free: 1.516 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.4705, allocations: 1.946 MB / 0.5014 GB, free: 1.496 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.4706, allocations: 0 / 0.5014 GB, free: 1.496 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.4708, allocations: 39.05 kB / 0.5014 GB, free: 1.496 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008035/0.4716, allocations: 434.8 kB / 0.5018 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.4718, allocations: 82.44 kB / 0.5019 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.4721, allocations: 304.3 kB / 0.5022 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.4721, allocations: 6.406 kB / 0.5022 GB, free: 1.473 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.4724, allocations: 127.2 kB / 0.5023 GB, free: 1.469 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.4725, allocations: 102.9 kB / 0.5024 GB, free: 1.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.4725, allocations: 6.062 kB / 0.5024 GB, free: 1.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.4737, allocations: 0.8551 MB / 0.5033 GB, free: 1.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.237e-05/0.4737, allocations: 85.61 kB / 0.5034 GB, free: 1.461 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.4738, allocations: 61.48 kB / 0.5034 GB, free: 1.426 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.4743, allocations: 493.3 kB / 0.5039 GB, free: 1.402 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4743, allocations: 0 / 0.5039 GB, free: 1.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4743, allocations: 0 / 0.5039 GB, free: 1.402 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.4743, allocations: 0 / 0.5039 GB, free: 1.402 MB / 378.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.0006305/0.4749, allocations: 463.6 kB / 0.5043 GB, free: 16.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.475, allocations: 10.97 kB / 0.5043 GB, free: 16.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007673/0.4826, allocations: 0.7315 MB / 0.505 GB, free: 16.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004466/0.4831, allocations: 283.9 kB / 0.5053 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4831, allocations: 13.95 kB / 0.5053 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.4833, allocations: 15.72 kB / 0.5053 GB, free: 16.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.4847, allocations: 0.7071 MB / 0.506 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4847, allocations: 6.078 kB / 0.506 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/0.4848, allocations: 6.25 kB / 0.5061 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.4849, allocations: 11.98 kB / 0.5061 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.4866, allocations: 0.9167 MB / 0.507 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.004215/0.4909, allocations: 2.006 MB / 0.5089 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.4921, allocations: 0.5071 MB / 0.5094 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.4926, allocations: 323.2 kB / 0.5097 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/0.4933, allocations: 264.2 kB / 0.51 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.4933, allocations: 39.53 kB / 0.51 GB, free: 15.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.043e-06/0.4934, allocations: 4 kB / 0.51 GB, free: 15.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001893/0.4953, allocations: 0.8971 MB / 0.5109 GB, free: 15.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.4953, allocations: 84.05 kB / 0.511 GB, free: 15.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.4954, allocations: 134.3 kB / 0.5111 GB, free: 14.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.504e-05/0.4955, allocations: 32.58 kB / 0.5111 GB, free: 14.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.4955, allocations: 117.9 kB / 0.5112 GB, free: 14.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/0.4956, allocations: 104.4 kB / 0.5113 GB, free: 14.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.4957, allocations: 7.625 kB / 0.5113 GB, free: 14.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.4958, allocations: 325.7 kB / 0.5117 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/0.4963, allocations: 302.1 kB / 0.5119 GB, free: 14.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/0.4971, allocations: 404.5 kB / 0.5123 GB, free: 14.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/0.4978, allocations: 318.4 kB / 0.5126 GB, free: 14.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4978, allocations: 1.875 kB / 0.5126 GB, free: 14.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001565/0.4993, allocations: 0.7434 MB / 0.5134 GB, free: 14.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4994, allocations: 6.594 kB / 0.5134 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.4994, allocations: 7.703 kB / 0.5134 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4994, allocations: 9.438 kB / 0.5134 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.5004, allocations: 102.8 kB / 0.5135 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.5004, allocations: 12.5 kB / 0.5135 GB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/0.5012, allocations: 51.58 kB / 0.5135 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.5013, allocations: 22.45 kB / 0.5136 GB, free: 14.25 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.0001914/0.5015, allocations: 155.3 kB / 0.5137 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.5017, allocations: 12.94 kB / 0.5137 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.5035, allocations: 0.7738 MB / 0.5145 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.5036, allocations: 11.39 kB / 0.5145 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.5036, allocations: 1.125 kB / 0.5145 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.5036, allocations: 4.953 kB / 0.5145 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.5046, allocations: 0.8038 MB / 0.5153 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5046, allocations: 0.6875 kB / 0.5153 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.5055, allocations: 75.61 kB / 0.5154 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.5056, allocations: 1.938 kB / 0.5154 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.357e-05/0.5056, allocations: 23.53 kB / 0.5154 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5056, allocations: 0.8125 kB / 0.5154 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.5056, allocations: 4.938 kB / 0.5154 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.5076, allocations: 0.9538 MB / 0.5163 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.5076, allocations: 100.9 kB / 0.5164 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.5077, allocations: 6.781 kB / 0.5164 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/0.5086, allocations: 38.16 kB / 0.5165 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.5087, allocations: 19.66 kB / 0.5165 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/0.5088, allocations: 21.31 kB / 0.5165 GB, free: 13.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.5088, allocations: 100.9 kB / 0.5166 GB, free: 13.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5088, allocations: 0 / 0.5166 GB, free: 13.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007176/0.5096, allocations: 180.3 kB / 0.5168 GB, free: 13.06 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.0007533/0.5103, allocations: 296.4 kB / 0.517 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.5117, allocations: 0.653 MB / 0.5177 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5117, allocations: 4.062 kB / 0.5177 GB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.5124, allocations: 331.8 kB / 0.518 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.5131, allocations: 92.05 kB / 0.5181 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.5147, allocations: 1.16 MB / 0.5192 GB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.515, allocations: 0.7362 MB / 0.5199 GB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/0.5155, allocations: 49.52 kB / 0.52 GB, free: 11.51 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5155, allocations: 1.859 kB / 0.52 GB, free: 11.51 MB / 394.7 MB Notification: Performance of Templates: time 0.01133/0.5268, allocations: 10.04 MB / 0.5298 GB, free: 7 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