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.003163/0.003163, allocations: 180.6 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.00112/0.001119, allocations: 90.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.93e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 47.57 MB / 369.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.315/2.416, allocations: 0.7545 GB / 1.115 GB, free: 69.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/2.417, allocations: 78.33 kB / 1.115 GB, free: 69.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2274/2.644, allocations: 61.85 MB / 1.175 GB, free: 9.797 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.893e-06/2.644, allocations: 0 / 1.175 GB, free: 9.797 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/2.644, allocations: 4 kB / 1.175 GB, free: 9.793 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.0008775/2.645, allocations: 475.1 kB / 1.176 GB, free: 9.281 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/2.645, allocations: 8.031 kB / 1.176 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009756/2.655, allocations: 0.7058 MB / 1.177 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/2.656, allocations: 282.7 kB / 1.177 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/2.656, allocations: 8.328 kB / 1.177 GB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/2.656, allocations: 19.91 kB / 1.177 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/2.658, allocations: 0.6645 MB / 1.178 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/2.658, allocations: 0 / 1.178 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/2.658, allocations: 4 kB / 1.178 GB, free: 7.539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/2.658, allocations: 15.95 kB / 1.178 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001934/2.66, allocations: 0.7106 MB / 1.178 GB, free: 6.812 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.004334/2.664, allocations: 1.218 MB / 1.179 GB, free: 5.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007332/2.665, allocations: 293.1 kB / 1.18 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/2.665, allocations: 181.7 kB / 1.18 GB, free: 5.059 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008446/2.666, allocations: 258.2 kB / 1.18 GB, free: 4.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/2.666, allocations: 42.83 kB / 1.18 GB, free: 4.719 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.116e-06/2.666, allocations: 3.938 kB / 1.18 GB, free: 4.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001181/2.668, allocations: 369.2 kB / 1.181 GB, free: 4.348 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/2.668, allocations: 81.11 kB / 1.181 GB, free: 4.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/2.668, allocations: 122.1 kB / 1.181 GB, free: 4.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/2.668, allocations: 29.7 kB / 1.181 GB, free: 4.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/2.668, allocations: 190.6 kB / 1.181 GB, free: 3.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/2.668, allocations: 98.64 kB / 1.181 GB, free: 3.801 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.171e-05/2.668, allocations: 4 kB / 1.181 GB, free: 3.797 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/2.668, allocations: 326.8 kB / 1.181 GB, free: 3.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/2.669, allocations: 164 kB / 1.182 GB, free: 3.309 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/2.669, allocations: 269.2 kB / 1.182 GB, free: 3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/2.67, allocations: 199.3 kB / 1.182 GB, free: 2.809 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/2.67, allocations: 0 / 1.182 GB, free: 2.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001272/2.671, allocations: 485 kB / 1.182 GB, free: 2.328 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/2.671, allocations: 11.94 kB / 1.182 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/2.671, allocations: 7.953 kB / 1.182 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/2.671, allocations: 4 kB / 1.182 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/2.672, allocations: 75.89 kB / 1.183 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/2.672, allocations: 11.92 kB / 1.183 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007337/2.673, allocations: 44.08 kB / 1.183 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/2.673, allocations: 23.98 kB / 1.183 GB, free: 2.152 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 (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.000179/2.673, allocations: 116.9 kB / 1.183 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/2.673, allocations: 15.81 kB / 1.183 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/2.675, allocations: 461.9 kB / 1.183 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/2.675, allocations: 0 / 1.183 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/2.675, allocations: 0 / 1.183 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/2.675, allocations: 4 kB / 1.183 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/2.676, allocations: 497.2 kB / 1.184 GB, free: 1.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/2.676, allocations: 4 kB / 1.184 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009579/2.677, allocations: 67.88 kB / 1.184 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/2.677, allocations: 0 / 1.184 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/2.677, allocations: 15.94 kB / 1.184 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/2.677, allocations: 4 kB / 1.184 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/2.677, allocations: 4 kB / 1.184 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/2.678, allocations: 0.6319 MB / 1.184 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/2.678, allocations: 92.91 kB / 1.184 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/2.679, allocations: 8 kB / 1.184 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/2.679, allocations: 31.83 kB / 1.184 GB, free: 116 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/2.679, allocations: 19.97 kB / 1.185 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/2.68, allocations: 19.97 kB / 1.185 GB, free: 76 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2736/2.953, allocations: 105.7 kB / 1.185 GB, free: 128 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.62e-07/2.953, allocations: 0 / 1.185 GB, free: 128 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002045/2.955, allocations: 200.7 kB / 1.185 GB, free: 128 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 (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.003244/2.959, allocations: 0.7288 MB / 1.186 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/2.961, allocations: 403.9 kB / 1.186 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/2.961, allocations: 2.094 kB / 1.186 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008765/2.962, allocations: 193.7 kB / 1.186 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/2.963, allocations: 83.77 kB / 1.186 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/2.966, allocations: 0.8119 MB / 1.187 GB, free: 127.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/2.967, allocations: 0.7401 MB / 1.188 GB, free: 126.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006936/2.967, allocations: 41.06 kB / 1.188 GB, free: 126.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/2.967, allocations: 0 / 1.188 GB, free: 126.9 MB / 426.7 MB Notification: Performance of Templates: time 0.03767/3.005, allocations: 9.584 MB / 1.197 GB, free: 126.2 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