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.001244/0.001244, allocations: 114.4 kB / 17.73 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.001148/0.001149, 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.329/1.329, 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.001597/0.001597, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08458/0.08618, allocations: 46.62 MB / 374.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3167/0.403, allocations: 151 MB / 0.5133 GB, free: 8.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.4055, allocations: 2.092 MB / 0.5153 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.4056, allocations: 8 kB / 0.5154 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.406, allocations: 51.67 kB / 0.5154 GB, free: 6.387 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.4073, allocations: 0.6027 MB / 0.516 GB, free: 5.781 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.4076, allocations: 112.4 kB / 0.5161 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.408, allocations: 259 kB / 0.5163 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.408, allocations: 4 kB / 0.5163 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.4083, allocations: 143.4 kB / 0.5165 GB, free: 5.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.4085, allocations: 83.72 kB / 0.5166 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.4085, allocations: 12 kB / 0.5166 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.41, allocations: 0.8339 MB / 0.5174 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.4101, allocations: 75.83 kB / 0.5175 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.4102, allocations: 107.5 kB / 0.5176 GB, free: 4.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009671/0.4112, allocations: 0.6491 MB / 0.5182 GB, free: 3.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4112, allocations: 0 / 0.5182 GB, free: 3.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4112, allocations: 0 / 0.5182 GB, free: 3.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.4113, allocations: 0 / 0.5182 GB, free: 3.52 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.0008762/0.4121, allocations: 0.4987 MB / 0.5187 GB, free: 2.973 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4122, allocations: 20.02 kB / 0.5187 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.4122, allocations: 46.73 kB / 0.5188 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.4141, allocations: 268.5 kB / 0.519 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/0.4146, allocations: 280.1 kB / 0.5193 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4146, allocations: 8.703 kB / 0.5193 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.4147, allocations: 23.94 kB / 0.5193 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008744/0.4156, allocations: 0.5044 MB / 0.5198 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4156, allocations: 0 / 0.5198 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.4157, allocations: 4 kB / 0.5198 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.4157, allocations: 12 kB / 0.5198 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008806/0.4166, allocations: 0.5856 MB / 0.5204 GB, free: 1.176 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.002197/0.4188, allocations: 1.023 MB / 0.5214 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.4192, allocations: 241.1 kB / 0.5216 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.4195, allocations: 193.5 kB / 0.5218 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007354/0.4202, allocations: 270.1 kB / 0.5221 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.4203, allocations: 38.56 kB / 0.5221 GB, free: 15.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.4203, allocations: 4 kB / 0.5221 GB, free: 15.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00193/0.4222, allocations: 0.5997 MB / 0.5227 GB, free: 14.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.4223, allocations: 81.11 kB / 0.5228 GB, free: 14.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4224, allocations: 127.1 kB / 0.5229 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.4225, allocations: 29.7 kB / 0.5229 GB, free: 14.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.4225, allocations: 120.5 kB / 0.523 GB, free: 14.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.723e-05/0.4226, allocations: 103.1 kB / 0.5231 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.4228, allocations: 73.64 kB / 0.5232 GB, free: 14.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4229, allocations: 326.8 kB / 0.5235 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.4233, allocations: 179.9 kB / 0.5237 GB, free: 13.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.4237, allocations: 300.4 kB / 0.524 GB, free: 13.28 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/0.4245, allocations: 0.489 MB / 0.5244 GB, free: 12.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4245, allocations: 0 / 0.5244 GB, free: 12.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009747/0.4255, allocations: 0.5246 MB / 0.525 GB, free: 12.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4256, allocations: 7.938 kB / 0.525 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4256, allocations: 4 kB / 0.525 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4256, allocations: 8 kB / 0.525 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/0.4261, allocations: 79.89 kB / 0.525 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.4261, allocations: 7.938 kB / 0.5251 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.4265, allocations: 38.64 kB / 0.5251 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/0.4266, allocations: 23.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.0001727/0.4268, allocations: 145.9 kB / 0.5253 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.4269, allocations: 15.89 kB / 0.5253 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009904/0.4279, allocations: 491.6 kB / 0.5257 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4279, allocations: 4 kB / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4279, allocations: 0 / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4279, allocations: 4 kB / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.4287, allocations: 458.6 kB / 0.5262 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4287, allocations: 0 / 0.5262 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.4292, allocations: 63.89 kB / 0.5262 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.4292, allocations: 4 kB / 0.5262 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.4292, allocations: 15.98 kB / 0.5263 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4292, allocations: 0 / 0.5263 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4292, allocations: 3.938 kB / 0.5263 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.4304, allocations: 0.6873 MB / 0.5269 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-05/0.4305, allocations: 96.89 kB / 0.527 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.4305, allocations: 12 kB / 0.527 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.431, allocations: 23.97 kB / 0.5271 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.12e-05/0.4311, allocations: 15.97 kB / 0.5271 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.4311, allocations: 15.98 kB / 0.5271 GB, free: 9.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.857e-05/0.4312, allocations: 103.7 kB / 0.5272 GB, free: 9.824 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4312, allocations: 0 / 0.5272 GB, free: 9.824 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006553/0.4319, allocations: 151.7 kB / 0.5273 GB, free: 9.676 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.002107/0.434, allocations: 1.481 MB / 0.5288 GB, free: 8.164 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008197/0.4348, allocations: 437.1 kB / 0.5292 GB, free: 7.738 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4348, allocations: 0 / 0.5292 GB, free: 7.738 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.4352, allocations: 219.8 kB / 0.5294 GB, free: 7.523 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000688/0.4359, allocations: 91.14 kB / 0.5295 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.4402, allocations: 3.234 MB / 0.5327 GB, free: 4.039 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.4406, allocations: 0.7401 MB / 0.5334 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004519/0.4411, allocations: 117.7 kB / 0.5335 GB, free: 3.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4413, allocations: 59.41 kB / 0.5335 GB, free: 3.105 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4413, allocations: 0 / 0.5335 GB, free: 3.105 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.4741, allocations: 10.45 MB / 0.5438 GB, free: 8.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.39, allocations: 0 / 0.5438 GB, free: 8.59 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