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.001115/0.001115, allocations: 110.5 kB / 17.93 MB, free: 5.676 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.001178/0.001178, allocations: 193.8 kB / 18.86 MB, free: 4.754 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.354/1.354, allocations: 205.1 MB / 224.7 MB, free: 12.3 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.001288/0.001288, allocations: 51.92 kB / 280.8 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.09971, allocations: 46.63 MB / 327.4 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3548/0.4545, allocations: 148.9 MB / 476.3 MB, free: 2.645 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.4571, allocations: 2.08 MB / 478.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.4572, allocations: 0 / 478.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.4578, allocations: 63.72 kB / 478.4 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.4594, allocations: 0.5564 MB / 479 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.4598, allocations: 99.27 kB / 479.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.4602, allocations: 263 kB / 479.3 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.674e-05/0.4603, allocations: 11.98 kB / 479.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002937/0.4606, allocations: 133 kB / 479.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.4608, allocations: 107.7 kB / 479.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.4608, allocations: 8 kB / 479.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.4626, allocations: 1.08 MB / 480.7 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.4627, allocations: 79.7 kB / 480.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.4628, allocations: 95.66 kB / 480.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007461/0.4636, allocations: 0.5106 MB / 481.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4636, allocations: 0 / 481.4 MB, free: 13.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4636, allocations: 4 kB / 481.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4636, allocations: 0 / 481.4 MB, free: 13.57 MB / 382.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.0008797/0.4645, allocations: 0.4959 MB / 481.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4646, allocations: 15.89 kB / 481.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007021/0.4716, allocations: 0.7345 MB / 482.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004957/0.4721, allocations: 284.9 kB / 482.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.4721, allocations: 12.89 kB / 482.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.4723, allocations: 27.88 kB / 482.9 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.4737, allocations: 0.7073 MB / 483.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4737, allocations: 0 / 483.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.4738, allocations: 12 kB / 483.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.4739, allocations: 8 kB / 483.7 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.4759, allocations: 0.9251 MB / 484.6 MB, free: 10.26 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.005/0.4809, allocations: 2.004 MB / 486.6 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.4821, allocations: 0.5009 MB / 487.1 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006332/0.4827, allocations: 326 kB / 487.4 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007804/0.4835, allocations: 278.2 kB / 487.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.4835, allocations: 42.56 kB / 487.7 MB, free: 6.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/0.4835, allocations: 0 / 487.7 MB, free: 6.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002158/0.4857, allocations: 0.8941 MB / 488.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.4858, allocations: 81.11 kB / 488.7 MB, free: 5.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.4859, allocations: 129.7 kB / 488.8 MB, free: 5.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.782e-05/0.486, allocations: 37.64 kB / 488.9 MB, free: 5.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.4861, allocations: 108.4 kB / 489 MB, free: 5.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.4862, allocations: 118.3 kB / 489.1 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.4864, allocations: 73.67 kB / 489.1 MB, free: 5.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4865, allocations: 330.8 kB / 489.5 MB, free: 5.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.4872, allocations: 291.8 kB / 489.8 MB, free: 4.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.4879, allocations: 412.2 kB / 490.2 MB, free: 4.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.4892, allocations: 0.688 MB / 490.8 MB, free: 3.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4892, allocations: 4 kB / 490.8 MB, free: 3.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001831/0.491, allocations: 0.7394 MB / 491.6 MB, free: 2.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4911, allocations: 8 kB / 491.6 MB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4911, allocations: 4 kB / 491.6 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4911, allocations: 4 kB / 491.6 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4921, allocations: 99.84 kB / 491.7 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.4922, allocations: 11.94 kB / 491.7 MB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/0.493, allocations: 55.7 kB / 491.8 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/0.4931, allocations: 23.98 kB / 491.8 MB, free: 2.645 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.0002474/0.4934, allocations: 145.8 kB / 491.9 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.4935, allocations: 15.84 kB / 491.9 MB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.4955, allocations: 0.7841 MB / 492.7 MB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4955, allocations: 4 kB / 492.7 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4955, allocations: 0 / 492.7 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.4956, allocations: 3.984 kB / 492.7 MB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.4966, allocations: 0.8098 MB / 493.6 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4966, allocations: 3.938 kB / 493.6 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009834/0.4976, allocations: 75.86 kB / 493.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.4976, allocations: 4 kB / 493.6 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.4977, allocations: 25.47 kB / 493.7 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4977, allocations: 0 / 493.7 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4977, allocations: 4 kB / 493.7 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.4997, allocations: 0.9565 MB / 494.6 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.4998, allocations: 96.86 kB / 494.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.4999, allocations: 8 kB / 494.7 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009098/0.5008, allocations: 39.89 kB / 494.8 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.5008, allocations: 19.97 kB / 494.8 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.589e-05/0.5009, allocations: 19.97 kB / 494.8 MB, free: 15.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.501, allocations: 105 kB / 494.9 MB, free: 15.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.501, allocations: 0 / 494.9 MB, free: 15.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007937/0.5018, allocations: 171.9 kB / 495.1 MB, free: 15.21 MB / 398.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.0009641/0.5028, allocations: 339 kB / 495.4 MB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.5043, allocations: 0.6752 MB / 496.1 MB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5043, allocations: 4 kB / 496.1 MB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006529/0.5049, allocations: 328.5 kB / 496.4 MB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.5057, allocations: 102 kB / 496.5 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.5074, allocations: 1.044 MB / 497.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.5078, allocations: 0.7403 MB / 498.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.5082, allocations: 47.39 kB / 498.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5082, allocations: 0 / 498.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of Templates: time 0.01378/0.522, allocations: 10.18 MB / 0.4966 GB, free: 1.621 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/jenkins1/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