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.00106/0.00106, allocations: 96.31 kB / 17.3 MB, free: 6.023 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.001611/0.001611, allocations: 171.6 kB / 18.2 MB, free: 5.418 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.343/1.343, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004333/0.0004335, allocations: 12 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.08445, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3209/0.4054, allocations: 146.8 MB / 475.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.4081, allocations: 2.112 MB / 477.9 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.4082, allocations: 4 kB / 477.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.4086, allocations: 51.72 kB / 478 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.41, allocations: 0.5524 MB / 478.5 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.4104, allocations: 95.81 kB / 478.6 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004768/0.4109, allocations: 378.8 kB / 479 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.322e-05/0.4109, allocations: 4 kB / 479 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003307/0.4113, allocations: 121.1 kB / 479.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.4116, allocations: 95.7 kB / 479.2 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.4116, allocations: 8 kB / 479.2 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.4136, allocations: 1.212 MB / 480.4 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.4138, allocations: 71.83 kB / 480.5 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.4139, allocations: 118.4 kB / 480.6 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.4153, allocations: 0.748 MB / 481.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.4153, allocations: 0 / 481.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4153, allocations: 0 / 481.3 MB, free: 1.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4153, allocations: 4 kB / 481.4 MB, free: 1.355 MB / 366.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.0007936/0.4161, allocations: 471.9 kB / 481.8 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4161, allocations: 8.031 kB / 481.8 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007368/0.4235, allocations: 0.7267 MB / 482.5 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004867/0.424, allocations: 276 kB / 482.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.4241, allocations: 16.89 kB / 482.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.4242, allocations: 19.94 kB / 482.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.4258, allocations: 0.7151 MB / 483.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4258, allocations: 0 / 483.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.4259, allocations: 8 kB / 483.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.4259, allocations: 8 kB / 483.6 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.428, allocations: 0.9289 MB / 484.5 MB, free: 14.1 MB / 382.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.005042/0.433, allocations: 2.001 MB / 486.5 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.4343, allocations: 0.5095 MB / 487 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000676/0.435, allocations: 325.5 kB / 487.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007189/0.4357, allocations: 270 kB / 487.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.4358, allocations: 38.56 kB / 487.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.4358, allocations: 0 / 487.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002275/0.4381, allocations: 0.896 MB / 488.5 MB, free: 9.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.4381, allocations: 81.11 kB / 488.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.4383, allocations: 125.8 kB / 488.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.926e-05/0.4384, allocations: 29.7 kB / 488.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.4384, allocations: 120.3 kB / 488.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.4386, allocations: 98.5 kB / 489 MB, free: 9.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-05/0.4387, allocations: 33.7 kB / 489 MB, free: 9.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.4388, allocations: 334.8 kB / 489.3 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006669/0.4395, allocations: 291.8 kB / 489.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007289/0.4402, allocations: 416.2 kB / 490 MB, free: 8.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.4416, allocations: 0.6919 MB / 490.7 MB, free: 7.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.4416, allocations: 0 / 490.7 MB, free: 7.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001904/0.4436, allocations: 0.7472 MB / 491.5 MB, free: 6.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4436, allocations: 4 kB / 491.5 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4436, allocations: 4 kB / 491.5 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.4436, allocations: 8 kB / 491.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.4448, allocations: 103.8 kB / 491.6 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4448, allocations: 4 kB / 491.6 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009837/0.4458, allocations: 60.42 kB / 491.7 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.4459, allocations: 23.98 kB / 491.7 MB, free: 6.523 MB / 382.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.000273/0.4462, allocations: 137.8 kB / 491.8 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.4463, allocations: 23.75 kB / 491.8 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.4485, allocations: 0.7725 MB / 492.6 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.4485, allocations: 4 kB / 492.6 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.4485, allocations: 0 / 492.6 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.4486, allocations: 4 kB / 492.6 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.4498, allocations: 0.8096 MB / 493.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.4498, allocations: 7.938 kB / 493.4 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.451, allocations: 79.91 kB / 493.5 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.451, allocations: 4 kB / 493.5 MB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.4511, allocations: 11.98 kB / 493.5 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4511, allocations: 4 kB / 493.5 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4511, allocations: 0 / 493.5 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.4534, allocations: 0.9683 MB / 494.5 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.241e-05/0.4535, allocations: 92.94 kB / 494.6 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/0.4536, allocations: 8 kB / 494.6 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.4547, allocations: 43.89 kB / 494.6 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.4547, allocations: 15.97 kB / 494.7 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.682e-05/0.4548, allocations: 19.98 kB / 494.7 MB, free: 3.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.733e-05/0.4549, allocations: 104 kB / 494.8 MB, free: 3.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4549, allocations: 0 / 494.8 MB, free: 3.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009136/0.4558, allocations: 180 kB / 495 MB, free: 3.098 MB / 382.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.001066/0.4569, allocations: 352.2 kB / 495.3 MB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.4585, allocations: 0.6557 MB / 496 MB, free: 2.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.4585, allocations: 4 kB / 496 MB, free: 2.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007206/0.4592, allocations: 328.5 kB / 496.3 MB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008433/0.4601, allocations: 96.61 kB / 496.4 MB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.4619, allocations: 1.146 MB / 497.5 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.4623, allocations: 0.7369 MB / 498.3 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00144/0.4637, allocations: 178.2 kB / 498.4 MB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.464, allocations: 39.41 kB / 498.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.464, allocations: 0 / 498.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of Templates: time 0.01676/0.4808, allocations: 10.2 MB / 0.4967 GB, free: 5.273 MB / 398.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","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches