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.001211/0.001211, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.87/1.87, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 82.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.949e-05, allocations: 0 / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 47.58 MB / 363.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.31/2.427, allocations: 0.7541 GB / 1.109 GB, free: 92.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/2.428, allocations: 75.97 kB / 1.109 GB, free: 92.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1168/2.545, allocations: 60.82 MB / 1.168 GB, free: 30.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.452e-06/2.545, allocations: 0 / 1.168 GB, free: 30.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/2.545, allocations: 4 kB / 1.168 GB, free: 30.64 MB / 426.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.0007763/2.545, allocations: 475.1 kB / 1.169 GB, free: 30.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/2.545, allocations: 11.97 kB / 1.169 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005205/2.551, allocations: 0.7058 MB / 1.169 GB, free: 29.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/2.551, allocations: 278.8 kB / 1.17 GB, free: 29.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/2.551, allocations: 8 kB / 1.17 GB, free: 29.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/2.551, allocations: 11.91 kB / 1.17 GB, free: 29.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009589/2.552, allocations: 0.6523 MB / 1.17 GB, free: 28.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/2.553, allocations: 408.5 kB / 1.171 GB, free: 28.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/2.553, allocations: 0 / 1.171 GB, free: 28.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/2.553, allocations: 11.94 kB / 1.171 GB, free: 28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/2.553, allocations: 4 kB / 1.171 GB, free: 28 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002653/2.556, allocations: 1.319 MB / 1.172 GB, free: 26.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/2.556, allocations: 321.5 kB / 1.172 GB, free: 26.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002496/2.556, allocations: 229.6 kB / 1.172 GB, free: 26.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005428/2.557, allocations: 254.2 kB / 1.173 GB, free: 25.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/2.557, allocations: 38.56 kB / 1.173 GB, free: 25.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/2.557, allocations: 0 / 1.173 GB, free: 25.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007766/2.558, allocations: 445.2 kB / 1.173 GB, free: 25.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/2.558, allocations: 85.11 kB / 1.173 GB, free: 25.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/2.558, allocations: 113 kB / 1.173 GB, free: 25.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/2.558, allocations: 29.7 kB / 1.173 GB, free: 25.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/2.558, allocations: 112.5 kB / 1.173 GB, free: 24.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.624e-05/2.558, allocations: 106.5 kB / 1.174 GB, free: 24.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/2.558, allocations: 3.938 kB / 1.174 GB, free: 24.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.738e-05/2.558, allocations: 322.8 kB / 1.174 GB, free: 24.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/2.558, allocations: 195.9 kB / 1.174 GB, free: 24.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/2.559, allocations: 296.6 kB / 1.174 GB, free: 23.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/2.559, allocations: 227.8 kB / 1.175 GB, free: 23.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/2.559, allocations: 7.953 kB / 1.175 GB, free: 23.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007067/2.56, allocations: 0.5206 MB / 1.175 GB, free: 23.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/2.56, allocations: 7.953 kB / 1.175 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/2.56, allocations: 8.062 kB / 1.175 GB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/2.56, allocations: 8 kB / 1.175 GB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/2.56, allocations: 91.81 kB / 1.175 GB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/2.56, allocations: 8.391 kB / 1.175 GB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/2.561, allocations: 39.67 kB / 1.175 GB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/2.561, allocations: 23.98 kB / 1.175 GB, free: 23.03 MB / 426.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 () * 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.0001212/2.561, allocations: 108.9 kB / 1.175 GB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/2.561, allocations: 11.91 kB / 1.175 GB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008429/2.562, allocations: 0.5258 MB / 1.176 GB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/2.562, allocations: 4 kB / 1.176 GB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/2.562, allocations: 3.953 kB / 1.176 GB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/2.562, allocations: 7.984 kB / 1.176 GB, free: 22.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006282/2.562, allocations: 499.8 kB / 1.176 GB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/2.562, allocations: 0 / 1.176 GB, free: 21.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/2.563, allocations: 71.88 kB / 1.176 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/2.563, allocations: 0 / 1.176 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/2.563, allocations: 11.98 kB / 1.176 GB, free: 21.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/2.563, allocations: 15.83 kB / 1.177 GB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.563, allocations: 0 / 1.177 GB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/2.564, allocations: 0.7241 MB / 1.177 GB, free: 20.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/2.564, allocations: 100.8 kB / 1.177 GB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/2.564, allocations: 3.953 kB / 1.177 GB, free: 20.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/2.565, allocations: 23.97 kB / 1.177 GB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/2.565, allocations: 19.97 kB / 1.177 GB, free: 20.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/2.565, allocations: 15.98 kB / 1.177 GB, free: 20.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.127e-05/2.565, allocations: 103.6 kB / 1.177 GB, free: 20.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.565, allocations: 4 kB / 1.177 GB, free: 20.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008194/2.565, allocations: 184 kB / 1.178 GB, free: 20.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete 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.00122/2.567, allocations: 0.8335 MB / 1.178 GB, free: 19.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005809/2.567, allocations: 480.4 kB / 1.179 GB, free: 19.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/2.567, allocations: 0 / 1.179 GB, free: 19.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/2.568, allocations: 236.2 kB / 1.179 GB, free: 18.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/2.568, allocations: 76.72 kB / 1.179 GB, free: 18.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000975/2.569, allocations: 0.791 MB / 1.18 GB, free: 18.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/2.569, allocations: 0.7447 MB / 1.181 GB, free: 17.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007486/2.57, allocations: 118 kB / 1.181 GB, free: 17.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/2.57, allocations: 39.34 kB / 1.181 GB, free: 17.16 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/2.57, allocations: 0 / 1.181 GB, free: 17.16 MB / 426.7 MB Notification: Performance of Templates: time 0.01319/2.583, allocations: 10.68 MB / 1.191 GB, free: 6.453 MB / 426.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/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