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.001303/0.001302, allocations: 115.8 kB / 17.28 MB, free: 6.195 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.001428/0.001428, allocations: 193.3 kB / 18.2 MB, free: 5.277 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.368/1.368, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001241/0.001241, allocations: 52.39 kB / 280.1 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.1009, allocations: 46.64 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3716/0.4725, allocations: 148.9 MB / 475.6 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.475, allocations: 2.084 MB / 477.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.4751, allocations: 0 / 477.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004081/0.4755, allocations: 51.78 kB / 477.8 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.477, allocations: 0.568 MB / 478.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.4773, allocations: 103.7 kB / 478.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.4776, allocations: 255.1 kB / 478.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.4777, allocations: 7.984 kB / 478.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.4779, allocations: 140.9 kB / 478.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.4781, allocations: 95.7 kB / 478.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.4782, allocations: 8 kB / 478.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.4797, allocations: 1.08 MB / 480 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.437e-05/0.4798, allocations: 87.75 kB / 480.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.4799, allocations: 99.59 kB / 480.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009522/0.4809, allocations: 0.7559 MB / 481 MB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4809, allocations: 0 / 481 MB, free: 13.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4809, allocations: 0 / 481 MB, free: 13.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.4809, allocations: 0 / 481 MB, free: 13.36 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.0007801/0.4817, allocations: 499.9 kB / 481.4 MB, free: 12.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4818, allocations: 15.89 kB / 481.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007329/0.4891, allocations: 0.7423 MB / 482.2 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004598/0.4896, allocations: 284 kB / 482.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.4896, allocations: 8.891 kB / 482.5 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.4897, allocations: 19.94 kB / 482.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.4912, allocations: 0.7151 MB / 483.2 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4912, allocations: 0 / 483.2 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.4913, allocations: 12 kB / 483.2 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.4914, allocations: 8 kB / 483.2 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.4934, allocations: 0.918 MB / 484.2 MB, free: 10.06 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.005125/0.4985, allocations: 2.009 MB / 486.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.4997, allocations: 0.5087 MB / 486.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006377/0.5004, allocations: 321.6 kB / 487 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008092/0.5012, allocations: 274 kB / 487.3 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5012, allocations: 38.56 kB / 487.3 MB, free: 6.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.894e-06/0.5013, allocations: 0 / 487.3 MB, free: 6.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002227/0.5035, allocations: 0.896 MB / 488.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.5035, allocations: 81.05 kB / 488.3 MB, free: 5.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.5037, allocations: 137.7 kB / 488.4 MB, free: 5.531 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.5038, allocations: 29.7 kB / 488.4 MB, free: 5.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/0.5039, allocations: 112.4 kB / 488.5 MB, free: 5.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.504, allocations: 118.4 kB / 488.7 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.5043, allocations: 69.67 kB / 488.7 MB, free: 5.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5044, allocations: 326.8 kB / 489.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000649/0.505, allocations: 295.8 kB / 489.3 MB, free: 4.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.5058, allocations: 408.2 kB / 489.7 MB, free: 4.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.5071, allocations: 0.6924 MB / 490.4 MB, free: 3.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5071, allocations: 7.938 kB / 490.4 MB, free: 3.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001672/0.5088, allocations: 0.7362 MB / 491.2 MB, free: 2.641 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.5088, allocations: 8 kB / 491.2 MB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.5089, allocations: 7.984 kB / 491.2 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5089, allocations: 4 kB / 491.2 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.51, allocations: 99.86 kB / 491.3 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.51, allocations: 7.984 kB / 491.3 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008729/0.5109, allocations: 55.81 kB / 491.4 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/0.511, allocations: 19.98 kB / 491.4 MB, free: 2.441 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.0002282/0.5112, allocations: 145.7 kB / 491.5 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.5113, allocations: 19.84 kB / 491.5 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.5134, allocations: 0.7778 MB / 492.3 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.5134, allocations: 7.984 kB / 492.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5134, allocations: 0 / 492.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.5134, allocations: 0 / 492.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.5146, allocations: 0.8058 MB / 493.1 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5146, allocations: 12.75 kB / 493.1 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.5157, allocations: 79.86 kB / 493.2 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.5157, allocations: 4 kB / 493.2 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.711e-05/0.5158, allocations: 15.97 kB / 493.2 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5158, allocations: 4 kB / 493.2 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5158, allocations: 3.625 kB / 493.2 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.5179, allocations: 0.9606 MB / 494.2 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.518, allocations: 92.86 kB / 494.3 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/0.5182, allocations: 15.98 kB / 494.3 MB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009619/0.5191, allocations: 35.89 kB / 494.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.5192, allocations: 23.92 kB / 494.4 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.753e-05/0.5193, allocations: 15.97 kB / 494.4 MB, free: 15.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.087e-05/0.5194, allocations: 104.6 kB / 494.5 MB, free: 15.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5194, allocations: 0 / 494.5 MB, free: 15.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009025/0.5203, allocations: 179.9 kB / 494.7 MB, free: 15 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.001051/0.5213, allocations: 327 kB / 495 MB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.5229, allocations: 0.6913 MB / 495.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5229, allocations: 3.938 kB / 495.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006711/0.5235, allocations: 331.8 kB / 496 MB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/0.5243, allocations: 101 kB / 496.1 MB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.5262, allocations: 0.9862 MB / 497.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.5267, allocations: 0.752 MB / 497.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001381/0.528, allocations: 181.7 kB / 498 MB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.5284, allocations: 35.41 kB / 498 MB, free: 11.55 MB / 398.1 MB Notification: Performance of SimCode: time 1.283e-06/0.5284, allocations: 0 / 498 MB, free: 11.55 MB / 398.1 MB Notification: Performance of Templates: time 0.01719/0.5456, allocations: 10.51 MB / 0.4966 GB, free: 0.9961 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