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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 114 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.00233, allocations: 55.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09834, allocations: 46.61 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3816/0.48, allocations: 151 MB / 0.5133 GB, free: 8.531 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.4828, allocations: 2.1 MB / 0.5154 GB, free: 6.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.4829, allocations: 4 kB / 0.5154 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.4833, allocations: 51.72 kB / 0.5154 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.4849, allocations: 0.6066 MB / 0.516 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.4852, allocations: 108.3 kB / 0.5161 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.4856, allocations: 263 kB / 0.5164 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.4857, allocations: 8 kB / 0.5164 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002885/0.486, allocations: 135.4 kB / 0.5165 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.4862, allocations: 87.66 kB / 0.5166 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.4862, allocations: 8 kB / 0.5166 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.4879, allocations: 0.8301 MB / 0.5174 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.488, allocations: 79.77 kB / 0.5175 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.4881, allocations: 95.59 kB / 0.5176 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.4891, allocations: 0.6568 MB / 0.5182 GB, free: 3.512 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4892, allocations: 4 kB / 0.5182 GB, free: 3.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4892, allocations: 0 / 0.5182 GB, free: 3.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.4892, allocations: 0 / 0.5182 GB, free: 3.508 MB / 446.1 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.0008387/0.49, allocations: 0.5025 MB / 0.5187 GB, free: 2.957 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4901, allocations: 12.03 kB / 0.5187 GB, free: 2.945 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.993e-05/0.4901, allocations: 54.73 kB / 0.5188 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.492, allocations: 260.5 kB / 0.519 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.4924, allocations: 280.1 kB / 0.5193 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.4924, allocations: 12.7 kB / 0.5193 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/0.4925, allocations: 27.92 kB / 0.5193 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008055/0.4933, allocations: 0.4966 MB / 0.5198 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4934, allocations: 3.984 kB / 0.5198 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.4934, allocations: 8 kB / 0.5198 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/0.4935, allocations: 11.94 kB / 0.5198 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009251/0.4944, allocations: 0.5856 MB / 0.5204 GB, free: 1.16 MB / 446.1 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.00221/0.4966, allocations: 1.02 MB / 0.5214 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.497, allocations: 241.1 kB / 0.5216 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.4973, allocations: 185.6 kB / 0.5218 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007338/0.498, allocations: 278.2 kB / 0.5221 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.4981, allocations: 35.44 kB / 0.5221 GB, free: 15.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.4981, allocations: 4 kB / 0.5221 GB, free: 15.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001909/0.5, allocations: 0.5995 MB / 0.5227 GB, free: 14.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.5001, allocations: 77.11 kB / 0.5228 GB, free: 14.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.5002, allocations: 139.1 kB / 0.5229 GB, free: 14.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.5003, allocations: 29.7 kB / 0.5229 GB, free: 14.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.5004, allocations: 116.5 kB / 0.523 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.5005, allocations: 107.1 kB / 0.5231 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.5006, allocations: 73.64 kB / 0.5232 GB, free: 14.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.5008, allocations: 326.8 kB / 0.5235 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.5011, allocations: 183.9 kB / 0.5237 GB, free: 13.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.5016, allocations: 288.5 kB / 0.524 GB, free: 13.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.5024, allocations: 496.6 kB / 0.5244 GB, free: 12.74 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.5024, allocations: 4 kB / 0.5244 GB, free: 12.74 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009673/0.5034, allocations: 0.5214 MB / 0.5249 GB, free: 12.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5034, allocations: 8 kB / 0.525 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.5034, allocations: 7.938 kB / 0.525 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5034, allocations: 4 kB / 0.525 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.5039, allocations: 82.7 kB / 0.525 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.504, allocations: 8 kB / 0.5251 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.5043, allocations: 39.77 kB / 0.5251 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.5044, allocations: 15.98 kB / 0.5251 GB, free: 12.05 MB / 462.1 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.0001679/0.5046, allocations: 153.8 kB / 0.5253 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.5047, allocations: 15.89 kB / 0.5253 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009782/0.5057, allocations: 496.6 kB / 0.5257 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/0.5057, allocations: 4 kB / 0.5257 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5057, allocations: 0 / 0.5257 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5057, allocations: 3.984 kB / 0.5258 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.5064, allocations: 454.6 kB / 0.5262 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5064, allocations: 0 / 0.5262 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.5069, allocations: 63.89 kB / 0.5262 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5069, allocations: 0 / 0.5262 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.507, allocations: 19.98 kB / 0.5263 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.507, allocations: 0 / 0.5263 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.507, allocations: 3.984 kB / 0.5263 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.5081, allocations: 0.6835 MB / 0.5269 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.5082, allocations: 92.95 kB / 0.527 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.312e-05/0.5083, allocations: 15.88 kB / 0.527 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.5088, allocations: 23.97 kB / 0.5271 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.5088, allocations: 19.97 kB / 0.5271 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.5089, allocations: 19.92 kB / 0.5271 GB, free: 9.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.121e-05/0.5089, allocations: 99.7 kB / 0.5272 GB, free: 9.812 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5089, allocations: 0 / 0.5272 GB, free: 9.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006145/0.5096, allocations: 155.7 kB / 0.5273 GB, free: 9.66 MB / 462.1 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.00218/0.5117, allocations: 1.483 MB / 0.5288 GB, free: 8.148 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000829/0.5126, allocations: 432.4 kB / 0.5292 GB, free: 7.727 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5126, allocations: 4.062 kB / 0.5292 GB, free: 7.723 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.513, allocations: 220.5 kB / 0.5294 GB, free: 7.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.5137, allocations: 90.62 kB / 0.5295 GB, free: 7.422 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.5181, allocations: 3.234 MB / 0.5327 GB, free: 4.023 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.5185, allocations: 0.7362 MB / 0.5334 GB, free: 3.262 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004683/0.519, allocations: 117.8 kB / 0.5335 GB, free: 3.148 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.5192, allocations: 59.41 kB / 0.5336 GB, free: 3.094 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5192, allocations: 0 / 0.5336 GB, free: 3.094 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.5547, allocations: 10.45 MB / 0.5438 GB, free: 8.586 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/8.799, allocations: 0 / 0.5438 GB, free: 8.586 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches