Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0014/0.0014, allocations: 178.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000759/0.0007586, allocations: 89.36 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003304, allocations: 8 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2388, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.378/1.617, allocations: 0.7548 GB / 1.122 GB, free: 12.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.617, allocations: 79.95 kB / 1.122 GB, free: 12.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2955/1.913, allocations: 61.88 MB / 1.182 GB, free: 124.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.913, allocations: 0 / 1.182 GB, free: 124.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/1.913, allocations: 4 kB / 1.182 GB, free: 124.9 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.0008425/1.914, allocations: 479.5 kB / 1.183 GB, free: 124.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.914, allocations: 8.031 kB / 1.183 GB, free: 124.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0052/1.919, allocations: 0.6911 MB / 1.183 GB, free: 123.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/1.92, allocations: 284 kB / 1.184 GB, free: 123.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/1.92, allocations: 12.7 kB / 1.184 GB, free: 123.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/1.92, allocations: 16.38 kB / 1.184 GB, free: 123.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/1.921, allocations: 0.6962 MB / 1.184 GB, free: 122.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.921, allocations: 192 / 1.184 GB, free: 122.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/1.921, allocations: 11.94 kB / 1.184 GB, free: 122.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/1.921, allocations: 15.92 kB / 1.184 GB, free: 122.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/1.923, allocations: 0.7573 MB / 1.185 GB, free: 121.9 MB / 426.7 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.002479/1.925, allocations: 1.234 MB / 1.186 GB, free: 120.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/1.926, allocations: 308.9 kB / 1.187 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/1.926, allocations: 209 kB / 1.187 GB, free: 120 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005331/1.927, allocations: 254.1 kB / 1.187 GB, free: 119.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/1.927, allocations: 46.44 kB / 1.187 GB, free: 119.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/1.927, allocations: 0 / 1.187 GB, free: 119.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001248/1.928, allocations: 0.5368 MB / 1.188 GB, free: 119.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/1.928, allocations: 92.95 kB / 1.188 GB, free: 119.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/1.928, allocations: 137.7 kB / 1.188 GB, free: 118.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/1.928, allocations: 29.7 kB / 1.188 GB, free: 118.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/1.928, allocations: 116.3 kB / 1.188 GB, free: 118.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.538e-05/1.928, allocations: 102.5 kB / 1.188 GB, free: 118.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/1.928, allocations: 7.938 kB / 1.188 GB, free: 118.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.931e-05/1.929, allocations: 322.8 kB / 1.188 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/1.929, allocations: 183.9 kB / 1.189 GB, free: 118.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/1.929, allocations: 280.7 kB / 1.189 GB, free: 117.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/1.93, allocations: 484.8 kB / 1.189 GB, free: 117.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/1.93, allocations: 0 / 1.189 GB, free: 117.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009456/1.931, allocations: 0.5175 MB / 1.19 GB, free: 116.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.931, allocations: 10.44 kB / 1.19 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.931, allocations: 4 kB / 1.19 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.931, allocations: 8 kB / 1.19 GB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/1.932, allocations: 75.88 kB / 1.19 GB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.932, allocations: 4 kB / 1.19 GB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/1.932, allocations: 35.83 kB / 1.19 GB, free: 116.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/1.932, allocations: 20.02 kB / 1.19 GB, free: 116.6 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001746/1.932, allocations: 157.6 kB / 1.19 GB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/1.932, allocations: 19.75 kB / 1.19 GB, free: 116.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009621/1.933, allocations: 474.1 kB / 1.191 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/1.933, allocations: 4 kB / 1.191 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.933, allocations: 0 / 1.191 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.933, allocations: 7.984 kB / 1.191 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/1.934, allocations: 0.4912 MB / 1.191 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.934, allocations: 3.938 kB / 1.191 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/1.935, allocations: 55.95 kB / 1.191 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.935, allocations: 11.88 kB / 1.191 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/1.935, allocations: 15.92 kB / 1.191 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.935, allocations: 0 / 1.191 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/1.935, allocations: 4 kB / 1.191 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/1.936, allocations: 0.6688 MB / 1.192 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/1.936, allocations: 92.89 kB / 1.192 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/1.936, allocations: 8 kB / 1.192 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/1.936, allocations: 31.86 kB / 1.192 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/1.936, allocations: 11.98 kB / 1.192 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/1.936, allocations: 19.98 kB / 1.192 GB, free: 114.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.107e-05/1.936, allocations: 99.25 kB / 1.192 GB, free: 114.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.936, allocations: 7.938 kB / 1.192 GB, free: 114.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009129/1.937, allocations: 203.9 kB / 1.192 GB, free: 114.2 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.001504/1.939, allocations: 0.7304 MB / 1.193 GB, free: 113.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008449/1.94, allocations: 436.5 kB / 1.193 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.94, allocations: 7.938 kB / 1.193 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/1.94, allocations: 209.6 kB / 1.194 GB, free: 112.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006744/1.941, allocations: 95.84 kB / 1.194 GB, free: 112.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/1.942, allocations: 1.084 MB / 1.195 GB, free: 111.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/1.942, allocations: 0.7326 MB / 1.195 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/1.943, allocations: 43.41 kB / 1.195 GB, free: 110.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/1.943, allocations: 0 / 1.195 GB, free: 110.8 MB / 426.7 MB Notification: Performance of Templates: time 0.01473/1.957, allocations: 9.318 MB / 1.205 GB, free: 101.4 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches