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.001214/0.001214, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.001267/0.001267, allocations: 191 kB / 18.66 MB, free: 4.445 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.235/1.235, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001204/0.001204, allocations: 47.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08544/0.08666, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3073/0.394, allocations: 151 MB / 0.5133 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.3962, allocations: 2.093 MB / 0.5153 GB, free: 6.434 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.3963, allocations: 0 / 0.5153 GB, free: 6.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.3967, allocations: 47.72 kB / 0.5154 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.398, allocations: 0.6161 MB / 0.516 GB, free: 5.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.3983, allocations: 109.6 kB / 0.5161 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.3986, allocations: 259 kB / 0.5163 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.665e-05/0.3987, allocations: 4 kB / 0.5163 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.3989, allocations: 139.4 kB / 0.5165 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.3991, allocations: 91.66 kB / 0.5166 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.3991, allocations: 11.94 kB / 0.5166 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.4005, allocations: 0.83 MB / 0.5174 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.696e-05/0.4006, allocations: 79.83 kB / 0.5175 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.4007, allocations: 95.58 kB / 0.5176 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009428/0.4016, allocations: 0.6508 MB / 0.5182 GB, free: 3.512 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4017, allocations: 0 / 0.5182 GB, free: 3.512 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4017, allocations: 0 / 0.5182 GB, free: 3.512 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.4017, allocations: 0 / 0.5182 GB, free: 3.512 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.0007781/0.4025, allocations: 0.4999 MB / 0.5187 GB, free: 2.965 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4025, allocations: 12.03 kB / 0.5187 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.962e-05/0.4026, allocations: 54.73 kB / 0.5187 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.4045, allocations: 268.4 kB / 0.519 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.4048, allocations: 276.7 kB / 0.5193 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.4048, allocations: 12.7 kB / 0.5193 GB, free: 2.309 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.4049, allocations: 23.92 kB / 0.5193 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006752/0.4056, allocations: 0.5005 MB / 0.5198 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4056, allocations: 4 kB / 0.5198 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/0.4057, allocations: 8 kB / 0.5198 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.4057, allocations: 8 kB / 0.5198 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.4065, allocations: 0.5817 MB / 0.5204 GB, free: 1.172 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.001964/0.4084, allocations: 1.024 MB / 0.5214 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.4088, allocations: 245.1 kB / 0.5216 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.409, allocations: 181.6 kB / 0.5218 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007169/0.4098, allocations: 274.1 kB / 0.522 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.4098, allocations: 46.5 kB / 0.5221 GB, free: 15.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.415e-06/0.4098, allocations: 0 / 0.5221 GB, free: 15.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001744/0.4116, allocations: 0.5956 MB / 0.5227 GB, free: 14.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.4116, allocations: 81.27 kB / 0.5227 GB, free: 14.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.4117, allocations: 131.1 kB / 0.5229 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.4118, allocations: 37.7 kB / 0.5229 GB, free: 14.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.4118, allocations: 116.3 kB / 0.523 GB, free: 14.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.609e-05/0.4119, allocations: 102.5 kB / 0.5231 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.4121, allocations: 65.69 kB / 0.5232 GB, free: 14.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.4122, allocations: 326.8 kB / 0.5235 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.4125, allocations: 183.9 kB / 0.5237 GB, free: 13.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.4128, allocations: 288.5 kB / 0.5239 GB, free: 13.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006527/0.4135, allocations: 0.492 MB / 0.5244 GB, free: 12.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4135, allocations: 0 / 0.5244 GB, free: 12.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008491/0.4143, allocations: 0.5281 MB / 0.5249 GB, free: 12.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.4144, allocations: 8 kB / 0.5249 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4144, allocations: 4 kB / 0.5249 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4144, allocations: 4 kB / 0.5249 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.4149, allocations: 79.89 kB / 0.525 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.4149, allocations: 4 kB / 0.525 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.4152, allocations: 44.02 kB / 0.5251 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.4153, allocations: 27.97 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.0001339/0.4154, allocations: 137.8 kB / 0.5252 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.4155, allocations: 23.75 kB / 0.5253 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.4164, allocations: 492.1 kB / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4164, allocations: 4 kB / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4164, allocations: 0 / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4164, allocations: 3.984 kB / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.4171, allocations: 454 kB / 0.5262 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4171, allocations: 2.625 kB / 0.5262 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.4176, allocations: 63.89 kB / 0.5262 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4176, allocations: 0 / 0.5262 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.4176, allocations: 11.98 kB / 0.5262 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4176, allocations: 3.938 kB / 0.5262 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4176, allocations: 4 kB / 0.5262 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009495/0.4186, allocations: 0.6872 MB / 0.5269 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.4186, allocations: 100.8 kB / 0.527 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.357e-05/0.4187, allocations: 11.98 kB / 0.527 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004237/0.4191, allocations: 15.98 kB / 0.527 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.4192, allocations: 19.97 kB / 0.5271 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.4192, allocations: 19.98 kB / 0.5271 GB, free: 9.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.498e-05/0.4193, allocations: 95.27 kB / 0.5272 GB, free: 9.832 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4193, allocations: 0 / 0.5272 GB, free: 9.832 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005833/0.4199, allocations: 167.9 kB / 0.5273 GB, free: 9.668 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.001769/0.4217, allocations: 1.466 MB / 0.5288 GB, free: 8.172 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007098/0.4224, allocations: 439.6 kB / 0.5292 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4224, allocations: 4 kB / 0.5292 GB, free: 7.738 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.4227, allocations: 215.8 kB / 0.5294 GB, free: 7.527 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.4234, allocations: 93.8 kB / 0.5295 GB, free: 7.441 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.4272, allocations: 3.226 MB / 0.5326 GB, free: 4.051 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.4274, allocations: 0.7323 MB / 0.5333 GB, free: 3.293 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004282/0.4279, allocations: 121.7 kB / 0.5335 GB, free: 3.176 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.4281, allocations: 59.41 kB / 0.5335 GB, free: 3.121 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4281, allocations: 0 / 0.5335 GB, free: 3.121 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.4575, allocations: 10.54 MB / 0.5438 GB, free: 8.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.219, allocations: 3.938 kB / 0.5438 GB, free: 8.516 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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","/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