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.001414/0.001414, allocations: 112.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.001636/0.001636, allocations: 179.1 kB / 18.66 MB, free: 4.438 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.367/1.367, 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.001155/0.001155, allocations: 43.94 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.0894, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.352/0.4415, allocations: 151 MB / 0.5138 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.4439, allocations: 2.09 MB / 0.5158 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.444, allocations: 7.938 kB / 0.5158 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.4444, allocations: 57.31 kB / 0.5159 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.4459, allocations: 0.6066 MB / 0.5165 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.4463, allocations: 108.4 kB / 0.5166 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.4466, allocations: 251.1 kB / 0.5168 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.4467, allocations: 11.94 kB / 0.5168 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.447, allocations: 135.4 kB / 0.517 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.4472, allocations: 87.72 kB / 0.5171 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.4472, allocations: 8 kB / 0.5171 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.4487, allocations: 0.8339 MB / 0.5179 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4489, allocations: 79.77 kB / 0.5179 GB, free: 3.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.449, allocations: 99.66 kB / 0.518 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009248/0.4499, allocations: 0.6498 MB / 0.5187 GB, free: 3.184 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4499, allocations: 0 / 0.5187 GB, free: 3.184 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4499, allocations: 4 kB / 0.5187 GB, free: 3.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.45, allocations: 0 / 0.5187 GB, free: 3.18 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.0008198/0.4508, allocations: 0.5025 MB / 0.5192 GB, free: 2.629 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4508, allocations: 15.89 kB / 0.5192 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.4527, allocations: 272.4 kB / 0.5194 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.4531, allocations: 280.1 kB / 0.5197 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4531, allocations: 8.891 kB / 0.5197 GB, free: 2.027 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-05/0.4532, allocations: 23.94 kB / 0.5197 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008156/0.454, allocations: 0.4975 MB / 0.5202 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.454, allocations: 0 / 0.5202 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.4541, allocations: 8 kB / 0.5202 GB, free: 1.488 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.4541, allocations: 11.94 kB / 0.5203 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009051/0.455, allocations: 0.5855 MB / 0.5208 GB, free: 0.8906 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.4573, allocations: 1.024 MB / 0.5218 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.4576, allocations: 237.1 kB / 0.522 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.4579, allocations: 184.3 kB / 0.5222 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007268/0.4586, allocations: 278 kB / 0.5225 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.4587, allocations: 34.56 kB / 0.5225 GB, free: 15.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.482e-06/0.4587, allocations: 7.938 kB / 0.5225 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001889/0.4606, allocations: 0.6044 MB / 0.5231 GB, free: 14.41 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.4607, allocations: 85.05 kB / 0.5232 GB, free: 14.31 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.4608, allocations: 127 kB / 0.5233 GB, free: 14.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.4608, allocations: 29.7 kB / 0.5234 GB, free: 14.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.4609, allocations: 116.5 kB / 0.5235 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/0.461, allocations: 107.1 kB / 0.5236 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.4612, allocations: 73.64 kB / 0.5236 GB, free: 13.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4613, allocations: 322.8 kB / 0.5239 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.4616, allocations: 187.9 kB / 0.5241 GB, free: 13.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.462, allocations: 288.5 kB / 0.5244 GB, free: 13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/0.4628, allocations: 498.7 kB / 0.5249 GB, free: 12.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.4628, allocations: 4 kB / 0.5249 GB, free: 12.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009203/0.4637, allocations: 0.5247 MB / 0.5254 GB, free: 11.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4637, allocations: 4 kB / 0.5254 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4638, allocations: 4 kB / 0.5254 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.4638, allocations: 4 kB / 0.5254 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/0.4643, allocations: 83.89 kB / 0.5255 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4643, allocations: 4 kB / 0.5255 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.4647, allocations: 39.75 kB / 0.5255 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.4647, allocations: 19.98 kB / 0.5255 GB, free: 11.78 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.0001523/0.4649, allocations: 153.8 kB / 0.5257 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.465, allocations: 15.89 kB / 0.5257 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009614/0.466, allocations: 491.6 kB / 0.5262 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.466, allocations: 4 kB / 0.5262 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.466, allocations: 0 / 0.5262 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.466, allocations: 3.984 kB / 0.5262 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.4667, allocations: 454 kB / 0.5266 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4667, allocations: 3.938 kB / 0.5266 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.4672, allocations: 63.89 kB / 0.5267 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4672, allocations: 0 / 0.5267 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.4673, allocations: 16.86 kB / 0.5267 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4673, allocations: 4.469 kB / 0.5267 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4673, allocations: 0 / 0.5267 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.4684, allocations: 0.6835 MB / 0.5274 GB, free: 9.832 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.4684, allocations: 92.95 kB / 0.5275 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.31e-05/0.4685, allocations: 8 kB / 0.5275 GB, free: 9.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.469, allocations: 26.47 kB / 0.5275 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.469, allocations: 23.91 kB / 0.5275 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.4691, allocations: 15.98 kB / 0.5275 GB, free: 9.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.306e-05/0.4691, allocations: 104.4 kB / 0.5276 GB, free: 9.551 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4691, allocations: 0 / 0.5276 GB, free: 9.551 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006259/0.4698, allocations: 155.7 kB / 0.5278 GB, free: 9.398 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.0007639/0.4706, allocations: 346.7 kB / 0.5281 GB, free: 9.047 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007744/0.4713, allocations: 451.6 kB / 0.5285 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4713, allocations: 0 / 0.5285 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.4717, allocations: 215.8 kB / 0.5287 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.4724, allocations: 90.27 kB / 0.5288 GB, free: 8.309 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.4738, allocations: 0.8867 MB / 0.5297 GB, free: 7.398 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4741, allocations: 0.7365 MB / 0.5304 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000435/0.4745, allocations: 117.8 kB / 0.5305 GB, free: 6.523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.4747, allocations: 23.44 kB / 0.5305 GB, free: 6.5 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4747, allocations: 0 / 0.5305 GB, free: 6.5 MB / 462.1 MB Notification: Performance of Templates: time 0.01236/0.487, allocations: 8.155 MB / 0.5385 GB, free: 14.34 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