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.001429/0.001429, 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.001174/0.001174, 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.301/1.301, 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.001278/0.001278, allocations: 51.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08374/0.08503, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3234/0.4085, allocations: 151 MB / 0.5133 GB, free: 8.523 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.4111, allocations: 2.098 MB / 0.5153 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.4112, allocations: 0 / 0.5153 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.4116, allocations: 55.7 kB / 0.5154 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.413, allocations: 0.6084 MB / 0.516 GB, free: 5.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.4133, allocations: 104.4 kB / 0.5161 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.4136, allocations: 263 kB / 0.5163 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.4137, allocations: 7.984 kB / 0.5163 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.4139, allocations: 131.4 kB / 0.5165 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.4141, allocations: 95.64 kB / 0.5166 GB, free: 5.172 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.4141, allocations: 8 kB / 0.5166 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.4154, allocations: 0.8339 MB / 0.5174 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.4155, allocations: 79.81 kB / 0.5175 GB, free: 4.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.4156, allocations: 99.53 kB / 0.5176 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008602/0.4165, allocations: 0.643 MB / 0.5182 GB, free: 3.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4165, allocations: 0 / 0.5182 GB, free: 3.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4165, allocations: 0 / 0.5182 GB, free: 3.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.4165, 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.0007696/0.4173, allocations: 0.5038 MB / 0.5187 GB, free: 2.957 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.4173, allocations: 8.031 kB / 0.5187 GB, free: 2.949 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.441e-05/0.4174, allocations: 50.73 kB / 0.5187 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.4192, allocations: 268.4 kB / 0.519 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.4197, allocations: 280 kB / 0.5193 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4197, allocations: 12.7 kB / 0.5193 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.4198, allocations: 27.92 kB / 0.5193 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007082/0.4205, allocations: 0.4966 MB / 0.5198 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4205, allocations: 4 kB / 0.5198 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/0.4206, allocations: 12 kB / 0.5198 GB, free: 1.754 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.4206, allocations: 11.98 kB / 0.5198 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008268/0.4214, allocations: 0.5778 MB / 0.5204 GB, free: 1.164 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.002911/0.4244, allocations: 1.024 MB / 0.5214 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.4248, allocations: 237.1 kB / 0.5216 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.425, allocations: 193.5 kB / 0.5218 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/0.4258, allocations: 266.1 kB / 0.522 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.4258, allocations: 46.55 kB / 0.5221 GB, free: 15.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.4258, allocations: 0 / 0.5221 GB, free: 15.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00293/0.4287, allocations: 0.5957 MB / 0.5227 GB, free: 14.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.4288, allocations: 81.11 kB / 0.5227 GB, free: 14.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.429, allocations: 135.1 kB / 0.5229 GB, free: 14.45 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.429, allocations: 37.7 kB / 0.5229 GB, free: 14.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.4291, allocations: 112.3 kB / 0.523 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.4293, allocations: 106.5 kB / 0.5231 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.4295, allocations: 65.7 kB / 0.5232 GB, free: 14.12 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4297, allocations: 326.8 kB / 0.5235 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.4301, allocations: 183.9 kB / 0.5237 GB, free: 13.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006157/0.4307, allocations: 296.5 kB / 0.5239 GB, free: 13.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.4319, allocations: 491.2 kB / 0.5244 GB, free: 12.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.432, allocations: 3.938 kB / 0.5244 GB, free: 12.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001579/0.4336, allocations: 0.5204 MB / 0.5249 GB, free: 12.22 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.4336, allocations: 8 kB / 0.5249 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4336, allocations: 4 kB / 0.5249 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.4337, allocations: 4 kB / 0.5249 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.4344, allocations: 79.89 kB / 0.525 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-05/0.4345, allocations: 13.03 kB / 0.525 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006142/0.4351, allocations: 43.67 kB / 0.5251 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/0.4352, allocations: 16 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.0002598/0.4355, allocations: 145.8 kB / 0.5252 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.4357, allocations: 19.75 kB / 0.5252 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.4372, allocations: 492.4 kB / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4372, allocations: 4 kB / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.4372, allocations: 3.984 kB / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.4372, allocations: 0 / 0.5257 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.4383, allocations: 454 kB / 0.5262 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4383, allocations: 4 kB / 0.5262 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/0.4391, allocations: 59.91 kB / 0.5262 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.4392, allocations: 3.984 kB / 0.5262 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.4392, allocations: 11.94 kB / 0.5262 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.4393, allocations: 4 kB / 0.5262 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4393, allocations: 0 / 0.5262 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.441, allocations: 0.6959 MB / 0.5269 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.4411, allocations: 96.84 kB / 0.527 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.4412, allocations: 11.94 kB / 0.527 GB, free: 9.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/0.4419, allocations: 15.98 kB / 0.527 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.442, allocations: 19.97 kB / 0.5271 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.4421, allocations: 15.98 kB / 0.5271 GB, free: 9.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.514e-05/0.4422, allocations: 99.7 kB / 0.5272 GB, free: 9.828 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4422, allocations: 0 / 0.5272 GB, free: 9.828 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001115/0.4433, allocations: 163.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.003113/0.4464, allocations: 1.472 MB / 0.5288 GB, free: 8.168 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.4478, allocations: 447.5 kB / 0.5292 GB, free: 7.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4478, allocations: 0 / 0.5292 GB, free: 7.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.4483, allocations: 211.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.001004/0.4493, allocations: 95.05 kB / 0.5295 GB, free: 7.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.4537, allocations: 3.226 MB / 0.5326 GB, free: 4.043 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.454, allocations: 0.7362 MB / 0.5333 GB, free: 3.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004619/0.4545, allocations: 117.8 kB / 0.5335 GB, free: 3.168 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.4547, allocations: 59.41 kB / 0.5335 GB, free: 3.113 MB / 462.1 MB Notification: Performance of SimCode: time 1.001e-06/0.4547, allocations: 4 kB / 0.5335 GB, free: 3.109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09652/0.5512, allocations: 10.54 MB / 0.5438 GB, free: 8.512 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.603/9.154, allocations: 0 / 0.5438 GB, free: 8.512 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