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.0009306/0.0009306, allocations: 96.53 kB / 16.94 MB, free: 6.441 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.001029/0.001029, allocations: 189.3 kB / 17.83 MB, free: 6.008 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.315/1.315, allocations: 205.4 MB / 224 MB, free: 13.16 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.000454/0.0004542, allocations: 12 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09176, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3244/0.4163, allocations: 125.8 MB / 454.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.4183, allocations: 1.724 MB / 455.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.4184, allocations: 0 / 455.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.4187, allocations: 35.84 kB / 455.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.4197, allocations: 442.6 kB / 456.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.42, allocations: 83.83 kB / 456.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.4202, allocations: 155.7 kB / 456.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.898e-05/0.4203, allocations: 8 kB / 456.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.4207, allocations: 171.5 kB / 456.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.4208, allocations: 71.81 kB / 456.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.4209, allocations: 4 kB / 456.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.4222, allocations: 0.7101 MB / 457.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.4223, allocations: 75.78 kB / 457.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.4223, allocations: 57.64 kB / 457.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.4231, allocations: 468 kB / 458.1 MB, free: 7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.4231, allocations: 0 / 458.1 MB, free: 7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4231, allocations: 0 / 458.1 MB, free: 7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4231, allocations: 0 / 458.1 MB, free: 7 MB / 350.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.000721/0.4238, allocations: 459.9 kB / 458.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4239, allocations: 12.02 kB / 458.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.4257, allocations: 255.5 kB / 458.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.426, allocations: 255.5 kB / 459 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.4261, allocations: 16.33 kB / 459.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.4261, allocations: 12 kB / 459.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.4268, allocations: 0.5005 MB / 459.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.4269, allocations: 7.938 kB / 459.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.4269, allocations: 8 kB / 459.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.4269, allocations: 8.5 kB / 459.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007696/0.4277, allocations: 0.5817 MB / 460.2 MB, free: 4.809 MB / 350.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.002188/0.4299, allocations: 1.01 MB / 461.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.4304, allocations: 245 kB / 461.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/0.4311, allocations: 262.1 kB / 461.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.4311, allocations: 42.55 kB / 461.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.244e-06/0.4312, allocations: 4 kB / 461.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001896/0.4331, allocations: 0.5959 MB / 462.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.4331, allocations: 81.11 kB / 462.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4332, allocations: 129.8 kB / 462.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.4333, allocations: 29.7 kB / 462.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.4334, allocations: 112.4 kB / 462.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.4335, allocations: 114.6 kB / 462.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.4335, allocations: 8 kB / 462.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4337, allocations: 334.7 kB / 463.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.434, allocations: 183.7 kB / 463.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/0.4344, allocations: 288.5 kB / 463.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004829/0.4349, allocations: 220 kB / 463.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4349, allocations: 4 kB / 463.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008912/0.4358, allocations: 0.5169 MB / 464.3 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4358, allocations: 8 kB / 464.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4358, allocations: 0 / 464.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.4359, allocations: 8 kB / 464.3 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.4364, allocations: 75.89 kB / 464.4 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.4364, allocations: 8.016 kB / 464.4 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.4368, allocations: 47.91 kB / 464.5 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.4369, allocations: 27.94 kB / 464.5 MB, free: 284 kB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.437, allocations: 149.7 kB / 464.6 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.4371, allocations: 11.91 kB / 464.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009381/0.4381, allocations: 0.4902 MB / 465.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4381, allocations: 4 kB / 465.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4381, allocations: 0 / 465.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4381, allocations: 7.938 kB / 465.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/0.4389, allocations: 457.9 kB / 465.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4389, allocations: 3.438 kB / 465.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/0.4394, allocations: 63.89 kB / 465.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4394, allocations: 0 / 465.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.4394, allocations: 11.98 kB / 465.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.4394, allocations: 4 kB / 465.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4394, allocations: 0 / 465.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.4404, allocations: 0.7055 MB / 466.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.4405, allocations: 92.86 kB / 466.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.4406, allocations: 11.98 kB / 466.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.4411, allocations: 23.97 kB / 466.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.4411, allocations: 19.94 kB / 466.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.4412, allocations: 19.98 kB / 466.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.697e-05/0.4412, allocations: 99.27 kB / 466.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4412, allocations: 0 / 466.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006299/0.4419, allocations: 151.9 kB / 466.8 MB, free: 13.87 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007114/0.4426, allocations: 295 kB / 467.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007291/0.4433, allocations: 432 kB / 467.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4434, allocations: 0 / 467.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.4437, allocations: 213 kB / 467.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.4443, allocations: 97.98 kB / 467.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.4457, allocations: 1.056 MB / 468.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.446, allocations: 0.7486 MB / 469.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006206/0.4466, allocations: 109.8 kB / 469.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.4467, allocations: 27.42 kB / 469.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4467, allocations: 0 / 469.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01174/0.4585, allocations: 7.686 MB / 477.4 MB, free: 3.172 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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