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: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008553/0.0008553, allocations: 175.5 kB / 16.72 MB, free: 5.082 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.138/1.138, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007256/0.0007256, allocations: 97.33 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002709, allocations: 11.98 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1791, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2727/0.4519, allocations: 136.9 MB / 0.5001 GB, free: 1.512 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.4536, allocations: 1.945 MB / 0.502 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.4536, allocations: 0 / 0.502 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.4539, allocations: 48.67 kB / 0.5021 GB, free: 1.488 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008921/0.4548, allocations: 0.5305 MB / 0.5026 GB, free: 1.457 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.455, allocations: 94.48 kB / 0.5027 GB, free: 1.457 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.4553, allocations: 308.5 kB / 0.503 GB, free: 1.453 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.4553, allocations: 9.641 kB / 0.503 GB, free: 1.453 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.4555, allocations: 122.8 kB / 0.5031 GB, free: 1.449 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.4557, allocations: 107.8 kB / 0.5032 GB, free: 1.449 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.4557, allocations: 6.438 kB / 0.5032 GB, free: 1.449 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.4572, allocations: 1.26 MB / 0.5044 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.4572, allocations: 83 kB / 0.5045 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.851e-05/0.4573, allocations: 121 kB / 0.5046 GB, free: 1.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004806/0.4578, allocations: 0.5085 MB / 0.5051 GB, free: 1.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.4578, allocations: 0 / 0.5051 GB, free: 1.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4578, allocations: 0 / 0.5051 GB, free: 1.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.4579, allocations: 2.906 kB / 0.5051 GB, free: 1.383 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.0005887/0.4585, allocations: 461.1 kB / 0.5056 GB, free: 16.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.4585, allocations: 8.344 kB / 0.5056 GB, free: 16.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/0.4585, allocations: 52.72 kB / 0.5056 GB, free: 16.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006274/0.4648, allocations: 0.7313 MB / 0.5063 GB, free: 16.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.4652, allocations: 278.1 kB / 0.5066 GB, free: 16.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4652, allocations: 11.55 kB / 0.5066 GB, free: 16.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-05/0.4653, allocations: 22.34 kB / 0.5066 GB, free: 16.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.4666, allocations: 0.709 MB / 0.5073 GB, free: 16.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4666, allocations: 0 / 0.5073 GB, free: 16.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.01e-05/0.4667, allocations: 14.28 kB / 0.5073 GB, free: 16.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.4667, allocations: 6.438 kB / 0.5073 GB, free: 16.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.4684, allocations: 0.9222 MB / 0.5082 GB, free: 16.64 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.004447/0.4729, allocations: 2.003 MB / 0.5102 GB, free: 15.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009741/0.4738, allocations: 0.5043 MB / 0.5107 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.4744, allocations: 321.8 kB / 0.511 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006235/0.475, allocations: 276.8 kB / 0.5113 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.4751, allocations: 43.8 kB / 0.5113 GB, free: 15.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.744e-06/0.4751, allocations: 0 / 0.5113 GB, free: 15.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001889/0.477, allocations: 0.8877 MB / 0.5122 GB, free: 15.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.477, allocations: 84.3 kB / 0.5123 GB, free: 15.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.4772, allocations: 127.8 kB / 0.5124 GB, free: 14.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.4772, allocations: 34.3 kB / 0.5124 GB, free: 14.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.4773, allocations: 119 kB / 0.5125 GB, free: 14.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.227e-05/0.4774, allocations: 102 kB / 0.5126 GB, free: 14.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.4774, allocations: 8.438 kB / 0.5126 GB, free: 14.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4776, allocations: 327.9 kB / 0.5129 GB, free: 14.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006293/0.4782, allocations: 295.9 kB / 0.5132 GB, free: 14.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000658/0.4789, allocations: 402.5 kB / 0.5136 GB, free: 14.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.4802, allocations: 0.6931 MB / 0.5143 GB, free: 14.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4802, allocations: 1.062 kB / 0.5143 GB, free: 14.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001534/0.4817, allocations: 0.7444 MB / 0.515 GB, free: 14.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4817, allocations: 6.156 kB / 0.515 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4817, allocations: 4.562 kB / 0.515 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4818, allocations: 9.062 kB / 0.515 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.4828, allocations: 100.1 kB / 0.5151 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4828, allocations: 7.781 kB / 0.5151 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008376/0.4836, allocations: 50.08 kB / 0.5152 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.4837, allocations: 31.64 kB / 0.5152 GB, free: 14.09 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.0001943/0.4839, allocations: 145.4 kB / 0.5153 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.4841, allocations: 21.28 kB / 0.5154 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.4859, allocations: 0.7752 MB / 0.5161 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.4859, allocations: 2.938 kB / 0.5161 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4859, allocations: 1.062 kB / 0.5161 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.486, allocations: 3.969 kB / 0.5161 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009483/0.4869, allocations: 0.8136 MB / 0.5169 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4869, allocations: 0 / 0.5169 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009735/0.4879, allocations: 78.88 kB / 0.517 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.4879, allocations: 1.125 kB / 0.517 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.488, allocations: 17.27 kB / 0.517 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.488, allocations: 9.062 kB / 0.517 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.488, allocations: 2.625 kB / 0.517 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.4899, allocations: 0.966 MB / 0.518 GB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.4899, allocations: 93.16 kB / 0.5181 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.365e-05/0.49, allocations: 12.75 kB / 0.5181 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009043/0.4909, allocations: 32.58 kB / 0.5181 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.491, allocations: 23.86 kB / 0.5181 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-05/0.4911, allocations: 18.16 kB / 0.5181 GB, free: 12.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.372e-05/0.4911, allocations: 105.9 kB / 0.5182 GB, free: 12.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4911, allocations: 0 / 0.5182 GB, free: 12.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007071/0.4919, allocations: 177.3 kB / 0.5184 GB, free: 12.89 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.002667/0.4945, allocations: 1.749 MB / 0.5201 GB, free: 12.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.4957, allocations: 0.6569 MB / 0.5208 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4957, allocations: 3.281 kB / 0.5208 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005615/0.4963, allocations: 331.4 kB / 0.5211 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.497, allocations: 86.28 kB / 0.5212 GB, free: 12.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.5006, allocations: 2.397 MB / 0.5235 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.5008, allocations: 0.7403 MB / 0.5242 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.5013, allocations: 78.41 kB / 0.5243 GB, free: 10.3 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5013, allocations: 0 / 0.5243 GB, free: 10.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.726/4.228, allocations: 8.413 MB / 0.5325 GB, free: 6.344 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_FlueGas.fmu > 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