Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 177.9 kB / 17.36 MB, free: 4.191 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.228/1.228, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007259/0.0007259, allocations: 94.61 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002254/0.0002255, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1926, allocations: 47.57 MB / 376.6 MB, free: 45.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3107/0.5034, allocations: 139.2 MB / 0.5037 GB, free: 2.316 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.5059, allocations: 3.335 MB / 0.507 GB, free: 16.69 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.5059, allocations: 0 / 0.507 GB, free: 16.69 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.5063, allocations: 64.45 kB / 0.5071 GB, free: 16.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.5074, allocations: 0.5513 MB / 0.5076 GB, free: 16.65 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.5077, allocations: 92.36 kB / 0.5077 GB, free: 16.65 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.508, allocations: 368.1 kB / 0.508 GB, free: 16.65 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.5081, allocations: 13.91 kB / 0.508 GB, free: 16.64 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.5083, allocations: 124.1 kB / 0.5082 GB, free: 16.64 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.5085, allocations: 107.2 kB / 0.5083 GB, free: 16.64 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.5086, allocations: 5.281 kB / 0.5083 GB, free: 16.64 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.5103, allocations: 1.216 MB / 0.5095 GB, free: 16.63 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.5104, allocations: 79.36 kB / 0.5095 GB, free: 16.63 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.5105, allocations: 119.1 kB / 0.5097 GB, free: 16.6 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008766/0.5114, allocations: 0.7592 MB / 0.5104 GB, free: 16.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5114, allocations: 0 / 0.5104 GB, free: 16.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5114, allocations: 0 / 0.5104 GB, free: 16.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.5114, allocations: 0 / 0.5104 GB, free: 16.57 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.0007223/0.5121, allocations: 466.8 kB / 0.5108 GB, free: 16.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5122, allocations: 13.31 kB / 0.5109 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006147/0.5184, allocations: 0.7308 MB / 0.5116 GB, free: 16.13 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.5188, allocations: 280.7 kB / 0.5118 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.5188, allocations: 13.95 kB / 0.5118 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5189, allocations: 26.34 kB / 0.5119 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.5203, allocations: 0.7043 MB / 0.5126 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.5203, allocations: 0 / 0.5126 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.946e-05/0.5204, allocations: 7.094 kB / 0.5126 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.5204, allocations: 10.22 kB / 0.5126 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.5225, allocations: 0.9265 MB / 0.5135 GB, free: 15.85 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.004389/0.5269, allocations: 2.005 MB / 0.5154 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.528, allocations: 0.5083 MB / 0.5159 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.5286, allocations: 326.6 kB / 0.5162 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/0.5293, allocations: 269.4 kB / 0.5165 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.5293, allocations: 41.22 kB / 0.5165 GB, free: 14.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.5293, allocations: 0 / 0.5165 GB, free: 14.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.002247/0.5316, allocations: 0.8867 MB / 0.5174 GB, free: 14.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.5316, allocations: 82.73 kB / 0.5175 GB, free: 14.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5318, allocations: 132.1 kB / 0.5176 GB, free: 14.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.5318, allocations: 30.7 kB / 0.5176 GB, free: 14.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.5319, allocations: 117 kB / 0.5178 GB, free: 14.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.532, allocations: 106.5 kB / 0.5179 GB, free: 13.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.5321, allocations: 8.406 kB / 0.5179 GB, free: 13.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5322, allocations: 325.8 kB / 0.5182 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.5328, allocations: 296.8 kB / 0.5185 GB, free: 13.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/0.5335, allocations: 405.3 kB / 0.5188 GB, free: 13.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.5348, allocations: 0.6909 MB / 0.5195 GB, free: 13.37 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5348, allocations: 1.375 kB / 0.5195 GB, free: 13.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001536/0.5363, allocations: 0.7482 MB / 0.5202 GB, free: 13.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5364, allocations: 10.34 kB / 0.5203 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.5364, allocations: 5.469 kB / 0.5203 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.5364, allocations: 5 kB / 0.5203 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009948/0.5374, allocations: 101.5 kB / 0.5204 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5374, allocations: 5.219 kB / 0.5204 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/0.5382, allocations: 57.14 kB / 0.5204 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.809e-05/0.5383, allocations: 25.3 kB / 0.5204 GB, free: 13.29 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.5385, allocations: 144.5 kB / 0.5206 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.5387, allocations: 21.34 kB / 0.5206 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.5406, allocations: 0.7762 MB / 0.5214 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.5406, allocations: 3.625 kB / 0.5214 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.5407, allocations: 1.844 kB / 0.5214 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.5407, allocations: 3.094 kB / 0.5214 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.5417, allocations: 0.8056 MB / 0.5222 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5417, allocations: 4.812 kB / 0.5222 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009618/0.5427, allocations: 79.75 kB / 0.5222 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.5427, allocations: 1.719 kB / 0.5222 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.5428, allocations: 22.55 kB / 0.5223 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5428, allocations: 1.094 kB / 0.5223 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5428, allocations: 0.9688 kB / 0.5223 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.5446, allocations: 0.9604 MB / 0.5232 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.5446, allocations: 93.23 kB / 0.5233 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.57e-05/0.5447, allocations: 8.922 kB / 0.5233 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008522/0.5456, allocations: 43.14 kB / 0.5233 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.5456, allocations: 15.53 kB / 0.5234 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.5457, allocations: 21.78 kB / 0.5234 GB, free: 12.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.966e-05/0.5458, allocations: 102.1 kB / 0.5235 GB, free: 12.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5458, allocations: 0 / 0.5235 GB, free: 12.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007241/0.5465, allocations: 185 kB / 0.5237 GB, free: 12.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008107/0.5473, allocations: 344.1 kB / 0.524 GB, free: 11.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.5487, allocations: 0.6595 MB / 0.5246 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5487, allocations: 3.438 kB / 0.5246 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006389/0.5493, allocations: 325.8 kB / 0.5249 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007058/0.55, allocations: 95 kB / 0.525 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.5517, allocations: 1.148 MB / 0.5261 GB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.552, allocations: 0.7366 MB / 0.5269 GB, free: 10.58 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001325/0.5533, allocations: 181.3 kB / 0.527 GB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002964/0.5536, allocations: 39.61 kB / 0.5271 GB, free: 10.46 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5536, allocations: 4 kB / 0.5271 GB, free: 10.46 MB / 394.7 MB Notification: Performance of Templates: time 0.01423/0.5679, allocations: 10.21 MB / 0.5371 GB, free: 5.375 MB / 394.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