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.0009826/0.0009827, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.001092/0.001092, allocations: 191.9 kB / 18.51 MB, free: 4.5 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.275/1.275, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001203/0.001203, allocations: 48.14 kB / 280.6 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07457/0.07578, allocations: 46.64 MB / 327.3 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2851/0.3609, allocations: 151 MB / 478.2 MB, free: 168 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.3634, allocations: 2.081 MB / 480.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.166e-05/0.3635, allocations: 0 / 480.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.3639, allocations: 63.66 kB / 480.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.3653, allocations: 0.6105 MB / 481 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.3656, allocations: 95.73 kB / 481.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.3659, allocations: 263 kB / 481.4 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.366, allocations: 5.406 kB / 481.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.3662, allocations: 137 kB / 481.5 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.3664, allocations: 99.64 kB / 481.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.3664, allocations: 8 kB / 481.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.3678, allocations: 0.9081 MB / 482.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.376e-05/0.3679, allocations: 83.75 kB / 482.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.3681, allocations: 95.59 kB / 482.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008299/0.3689, allocations: 0.6704 MB / 483.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3689, allocations: 0 / 483.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3689, allocations: 0 / 483.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3689, allocations: 0 / 483.3 MB, free: 11.07 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.0007272/0.3697, allocations: 0.5037 MB / 483.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3697, allocations: 15.89 kB / 483.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00755/0.3773, allocations: 0.7423 MB / 484.6 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.3777, allocations: 280.9 kB / 484.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3777, allocations: 12.83 kB / 484.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.3778, allocations: 27.88 kB / 484.9 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.3792, allocations: 0.7034 MB / 485.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3792, allocations: 7.938 kB / 485.6 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-05/0.3793, allocations: 8 kB / 485.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.3793, allocations: 8 kB / 485.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/0.3812, allocations: 0.9173 MB / 486.6 MB, free: 7.75 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.005009/0.3863, allocations: 2.013 MB / 488.6 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.3874, allocations: 0.5129 MB / 489.1 MB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/0.3881, allocations: 317.6 kB / 489.4 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/0.3888, allocations: 282.1 kB / 489.7 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3888, allocations: 38.56 kB / 489.7 MB, free: 4.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.3888, allocations: 4 kB / 489.7 MB, free: 4.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002168/0.391, allocations: 0.8858 MB / 490.6 MB, free: 3.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3911, allocations: 85.09 kB / 490.7 MB, free: 3.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3912, allocations: 133.7 kB / 490.8 MB, free: 3.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.3913, allocations: 29.7 kB / 490.9 MB, free: 3.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/0.3913, allocations: 112.4 kB / 491 MB, free: 3.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3914, allocations: 106.4 kB / 491.1 MB, free: 2.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.3916, allocations: 73.67 kB / 491.1 MB, free: 2.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.3917, allocations: 322.8 kB / 491.5 MB, free: 2.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.3924, allocations: 303.8 kB / 491.7 MB, free: 2.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006857/0.3931, allocations: 408.2 kB / 492.1 MB, free: 1.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.3944, allocations: 0.6925 MB / 492.8 MB, free: 1.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3944, allocations: 0 / 492.8 MB, free: 1.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00161/0.396, allocations: 0.7475 MB / 493.6 MB, free: 336 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3961, allocations: 11.97 kB / 493.6 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3961, allocations: 4 kB / 493.6 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.3961, allocations: 8 kB / 493.6 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.3972, allocations: 91.86 kB / 493.7 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.3972, allocations: 12 kB / 493.7 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009037/0.3981, allocations: 51.66 kB / 493.8 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/0.3982, allocations: 23.97 kB / 493.8 MB, free: 132 kB / 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.0002068/0.3984, allocations: 145.8 kB / 493.9 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.3986, allocations: 19.84 kB / 493.9 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.4005, allocations: 0.7711 MB / 494.7 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.4005, allocations: 4 kB / 494.7 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.4005, allocations: 4 kB / 494.7 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.4005, allocations: 7.984 kB / 494.7 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009545/0.4015, allocations: 0.8019 MB / 495.5 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4015, allocations: 7.938 kB / 495.5 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.4026, allocations: 79.86 kB / 495.6 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4026, allocations: 0 / 495.6 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/0.4027, allocations: 11.98 kB / 495.6 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4027, allocations: 7.984 kB / 495.6 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.4027, allocations: 0 / 495.6 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.4046, allocations: 0.9565 MB / 496.6 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.4047, allocations: 92.86 kB / 496.7 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.4048, allocations: 12 kB / 496.7 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009995/0.4058, allocations: 39.27 kB / 496.7 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.4059, allocations: 15.97 kB / 496.8 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/0.4059, allocations: 19.98 kB / 496.8 MB, free: 12.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.204e-05/0.406, allocations: 101 kB / 496.9 MB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.406, allocations: 4 kB / 496.9 MB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007577/0.4068, allocations: 183.9 kB / 497.1 MB, free: 12.71 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.001072/0.4079, allocations: 342.9 kB / 497.4 MB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.4094, allocations: 0.6764 MB / 498.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4094, allocations: 4.125 kB / 498.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006914/0.4101, allocations: 332 kB / 498.4 MB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007332/0.4108, allocations: 89.09 kB / 498.5 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.4126, allocations: 0.9511 MB / 499.4 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4129, allocations: 0.7404 MB / 0.4885 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001256/0.4141, allocations: 173.7 kB / 0.4886 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.4144, allocations: 35.41 kB / 0.4886 GB, free: 9.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4145, allocations: 4 kB / 0.4887 GB, free: 9.316 MB / 398.1 MB Notification: Performance of Templates: time 0.01538/0.4298, allocations: 10.53 MB / 0.4989 GB, free: 14.73 MB / 414.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