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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009562/0.000956, allocations: 96.53 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007868/0.0007869, allocations: 40.08 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1918, allocations: 46.63 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3156/0.5074, allocations: 148.7 MB / 0.5103 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.5095, allocations: 2.148 MB / 0.5124 GB, free: 13.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.5096, allocations: 0 / 0.5124 GB, free: 13.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.5099, allocations: 56.67 kB / 0.5125 GB, free: 13.16 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009668/0.5109, allocations: 0.5594 MB / 0.513 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.5112, allocations: 97.05 kB / 0.5131 GB, free: 13.03 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.5115, allocations: 373.6 kB / 0.5135 GB, free: 12.98 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.5115, allocations: 5.375 kB / 0.5135 GB, free: 12.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.5118, allocations: 130.2 kB / 0.5136 GB, free: 12.96 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.512, allocations: 105.3 kB / 0.5137 GB, free: 12.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.512, allocations: 5.688 kB / 0.5137 GB, free: 12.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.5136, allocations: 1.187 MB / 0.5149 GB, free: 12.88 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.5137, allocations: 81.73 kB / 0.5149 GB, free: 12.88 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.819e-05/0.5138, allocations: 100.2 kB / 0.515 GB, free: 12.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009837/0.5148, allocations: 0.7532 MB / 0.5158 GB, free: 12.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5148, allocations: 2.125 kB / 0.5158 GB, free: 12.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5148, allocations: 0 / 0.5158 GB, free: 12.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.5148, allocations: 0.5312 kB / 0.5158 GB, free: 12.81 MB / 394.7 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.0007033/0.5156, allocations: 0.497 MB / 0.5163 GB, free: 12.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.5156, allocations: 9.531 kB / 0.5163 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006862/0.5225, allocations: 0.742 MB / 0.517 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.523, allocations: 279.3 kB / 0.5173 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.523, allocations: 10.89 kB / 0.5173 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.5231, allocations: 23.53 kB / 0.5173 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.5245, allocations: 0.7067 MB / 0.518 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.5245, allocations: 0 / 0.518 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.5246, allocations: 10.38 kB / 0.518 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.5246, allocations: 10.53 kB / 0.518 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.5266, allocations: 0.9242 MB / 0.5189 GB, free: 12.08 MB / 394.7 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.004831/0.5315, allocations: 2.009 MB / 0.5209 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.5326, allocations: 0.5012 MB / 0.5214 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.5332, allocations: 330.5 kB / 0.5217 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007086/0.534, allocations: 284.5 kB / 0.5219 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.534, allocations: 38.12 kB / 0.522 GB, free: 10.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.534, allocations: 0 / 0.522 GB, free: 10.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001924/0.5359, allocations: 0.8855 MB / 0.5228 GB, free: 10.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.536, allocations: 81.83 kB / 0.5229 GB, free: 10.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.112e-05/0.5361, allocations: 132.2 kB / 0.523 GB, free: 9.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.5361, allocations: 31.39 kB / 0.5231 GB, free: 9.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.5362, allocations: 111.8 kB / 0.5232 GB, free: 9.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.578e-05/0.5363, allocations: 116.1 kB / 0.5233 GB, free: 9.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.5365, allocations: 69.89 kB / 0.5234 GB, free: 9.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.756e-05/0.5366, allocations: 330.3 kB / 0.5237 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.5372, allocations: 294.6 kB / 0.524 GB, free: 9.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006136/0.5378, allocations: 405.9 kB / 0.5243 GB, free: 9.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.5389, allocations: 0.6963 MB / 0.525 GB, free: 8.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.539, allocations: 3.312 kB / 0.525 GB, free: 8.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001416/0.5404, allocations: 0.7409 MB / 0.5258 GB, free: 8.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.5404, allocations: 7.75 kB / 0.5258 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5404, allocations: 2.188 kB / 0.5258 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.5404, allocations: 5.812 kB / 0.5258 GB, free: 8.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.5415, allocations: 103 kB / 0.5259 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5415, allocations: 8.719 kB / 0.5259 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000871/0.5424, allocations: 57.64 kB / 0.5259 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.5424, allocations: 22.8 kB / 0.5259 GB, free: 8.75 MB / 394.7 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.0001678/0.5426, allocations: 142.9 kB / 0.5261 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.5427, allocations: 17.28 kB / 0.5261 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001772/0.5445, allocations: 0.7803 MB / 0.5269 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5445, allocations: 2.906 kB / 0.5269 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5445, allocations: 2.75 kB / 0.5269 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.5446, allocations: 0 / 0.5269 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008604/0.5454, allocations: 0.8069 MB / 0.5277 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5454, allocations: 11.94 kB / 0.5277 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.5465, allocations: 79.67 kB / 0.5277 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.5465, allocations: 2.625 kB / 0.5277 GB, free: 7.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.107e-05/0.5465, allocations: 16.14 kB / 0.5278 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5465, allocations: 2.469 kB / 0.5278 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5466, allocations: 0 / 0.5278 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/0.5497, allocations: 2.337 MB / 0.53 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.5498, allocations: 98.5 kB / 0.5301 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.5498, allocations: 7.812 kB / 0.5301 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/0.5508, allocations: 41.39 kB / 0.5302 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.5509, allocations: 14.61 kB / 0.5302 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/0.5509, allocations: 24.44 kB / 0.5302 GB, free: 6.234 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.551, allocations: 102.1 kB / 0.5303 GB, free: 6.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.551, allocations: 1.203 kB / 0.5303 GB, free: 6.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009272/0.5519, allocations: 199.7 kB / 0.5305 GB, free: 6.133 MB / 394.7 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.0008498/0.5528, allocations: 340.8 kB / 0.5308 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.5541, allocations: 0.6572 MB / 0.5315 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5541, allocations: 0 / 0.5315 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.5547, allocations: 334.3 kB / 0.5318 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.5554, allocations: 91.5 kB / 0.5319 GB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.5571, allocations: 1.204 MB / 0.5331 GB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.5573, allocations: 0.7474 MB / 0.5338 GB, free: 4.195 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001207/0.5585, allocations: 176.5 kB / 0.534 GB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.5588, allocations: 36.22 kB / 0.534 GB, free: 4.062 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5588, allocations: 4 kB / 0.534 GB, free: 4.059 MB / 394.7 MB Notification: Performance of Templates: time 0.01353/0.5724, allocations: 10.58 MB / 0.5443 GB, free: 14.62 MB / 410.7 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@2/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