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: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 109.4 kB / 17.73 MB, free: 5.363 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.001151/0.001151, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.364/1.364, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001205/0.001205, allocations: 55.92 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0799/0.08112, allocations: 46.62 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3774/0.4586, allocations: 151 MB / 0.5138 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.4613, allocations: 2.097 MB / 0.5158 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.4614, allocations: 4 kB / 0.5158 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.4619, allocations: 51.72 kB / 0.5159 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.4639, allocations: 0.6066 MB / 0.5165 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.4644, allocations: 112.3 kB / 0.5166 GB, free: 5.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000456/0.4648, allocations: 259 kB / 0.5168 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.192e-05/0.4649, allocations: 8 kB / 0.5168 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.4653, allocations: 133.1 kB / 0.517 GB, free: 5.066 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.4656, allocations: 91.7 kB / 0.5171 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.4656, allocations: 8 kB / 0.5171 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.4676, allocations: 0.83 MB / 0.5179 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.4678, allocations: 79.77 kB / 0.5179 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.4679, allocations: 99.59 kB / 0.518 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.4693, allocations: 0.6466 MB / 0.5187 GB, free: 3.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4693, allocations: 0 / 0.5187 GB, free: 3.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4693, allocations: 4 kB / 0.5187 GB, free: 3.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.4693, allocations: 0 / 0.5187 GB, free: 3.312 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.001077/0.4704, allocations: 0.496 MB / 0.5192 GB, free: 2.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4705, allocations: 15.89 kB / 0.5192 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.4727, allocations: 264.4 kB / 0.5194 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.4731, allocations: 284 kB / 0.5197 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.4732, allocations: 9.766 kB / 0.5197 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-05/0.4733, allocations: 19.94 kB / 0.5197 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/0.4742, allocations: 0.5083 MB / 0.5202 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4742, allocations: 4 kB / 0.5202 GB, free: 1.629 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.734e-05/0.4743, allocations: 4 kB / 0.5202 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.4743, allocations: 8 kB / 0.5202 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008833/0.4752, allocations: 0.5894 MB / 0.5208 GB, free: 1.027 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.002344/0.4775, allocations: 1.02 MB / 0.5218 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.478, allocations: 243.6 kB / 0.522 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.4782, allocations: 177.6 kB / 0.5222 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008058/0.479, allocations: 282 kB / 0.5225 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4791, allocations: 38.5 kB / 0.5225 GB, free: 15.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.4791, allocations: 4 kB / 0.5225 GB, free: 15.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002064/0.4812, allocations: 0.6035 MB / 0.5231 GB, free: 14.55 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4812, allocations: 81.11 kB / 0.5232 GB, free: 14.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.4814, allocations: 125.8 kB / 0.5233 GB, free: 14.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.4814, allocations: 29.7 kB / 0.5233 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/0.4815, allocations: 112.3 kB / 0.5234 GB, free: 14.17 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.043e-05/0.4816, allocations: 110.5 kB / 0.5236 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.4817, allocations: 65.69 kB / 0.5236 GB, free: 13.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4818, allocations: 326.8 kB / 0.5239 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.4822, allocations: 183.9 kB / 0.5241 GB, free: 13.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.4826, allocations: 292.5 kB / 0.5244 GB, free: 13.15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007411/0.4833, allocations: 495.2 kB / 0.5249 GB, free: 12.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4833, allocations: 4 kB / 0.5249 GB, free: 12.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009537/0.4843, allocations: 0.5207 MB / 0.5254 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4843, allocations: 4 kB / 0.5254 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4844, allocations: 4 kB / 0.5254 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4844, allocations: 4 kB / 0.5254 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005762/0.485, allocations: 87.83 kB / 0.5255 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.485, allocations: 4 kB / 0.5255 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.4854, allocations: 39.61 kB / 0.5255 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/0.4855, allocations: 19.98 kB / 0.5255 GB, free: 11.93 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.0001703/0.4857, allocations: 145.8 kB / 0.5257 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.4858, allocations: 19.75 kB / 0.5257 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009737/0.4868, allocations: 491.6 kB / 0.5261 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.4868, allocations: 4 kB / 0.5262 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4868, allocations: 0 / 0.5262 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4868, allocations: 0 / 0.5262 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007477/0.4876, allocations: 462.1 kB / 0.5266 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4876, allocations: 3.938 kB / 0.5266 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005648/0.4882, allocations: 60.77 kB / 0.5267 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4882, allocations: 0 / 0.5267 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.4882, allocations: 15.98 kB / 0.5267 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4882, allocations: 4 kB / 0.5267 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4883, allocations: 0 / 0.5267 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.4894, allocations: 0.6872 MB / 0.5273 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/0.4895, allocations: 92.86 kB / 0.5274 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.4896, allocations: 18.44 kB / 0.5275 GB, free: 9.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.4901, allocations: 23.97 kB / 0.5275 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.4902, allocations: 20.05 kB / 0.5275 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/0.4903, allocations: 15.98 kB / 0.5275 GB, free: 9.797 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.525e-05/0.4903, allocations: 100.2 kB / 0.5276 GB, free: 9.699 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4904, allocations: 0 / 0.5276 GB, free: 9.699 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007203/0.4911, allocations: 155.9 kB / 0.5278 GB, free: 9.547 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.0009537/0.492, allocations: 341.3 kB / 0.5281 GB, free: 9.203 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008394/0.4929, allocations: 448.2 kB / 0.5285 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4929, allocations: 0 / 0.5285 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.4933, allocations: 219.8 kB / 0.5287 GB, free: 8.551 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007738/0.4941, allocations: 98.06 kB / 0.5288 GB, free: 8.457 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.4955, allocations: 0.8773 MB / 0.5297 GB, free: 7.555 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.4958, allocations: 0.7403 MB / 0.5304 GB, free: 6.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004878/0.4963, allocations: 113.8 kB / 0.5305 GB, free: 6.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.4965, allocations: 23.44 kB / 0.5305 GB, free: 6.656 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4965, allocations: 0 / 0.5305 GB, free: 6.656 MB / 462.1 MB Notification: Performance of Templates: time 0.01417/0.5107, allocations: 8.159 MB / 0.5385 GB, free: 14.49 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/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