Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001033/0.001033, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000943/0.000943, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9591/0.9591, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2658/0.2658, allocations: 34.86 MB / 296.3 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.161e-05, allocations: 2.312 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2935/0.2935, allocations: 145.6 MB / 0.512 GB, free: 17.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2954, allocations: 2.244 MB / 0.5142 GB, free: 16.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.155e-05/0.2955, allocations: 0 / 0.5142 GB, free: 16.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.2958, allocations: 51.23 kB / 0.5143 GB, free: 16.15 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.2973, allocations: 0.6737 MB / 0.5149 GB, free: 15.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.2976, allocations: 100 kB / 0.515 GB, free: 15.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.2979, allocations: 264.2 kB / 0.5153 GB, free: 15.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.2979, allocations: 4.281 kB / 0.5153 GB, free: 15.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.2982, allocations: 180.4 kB / 0.5155 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.2984, allocations: 86.05 kB / 0.5155 GB, free: 15.55 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.2984, allocations: 8.688 kB / 0.5156 GB, free: 15.55 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.2996, allocations: 0.7716 MB / 0.5163 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.2997, allocations: 90.81 kB / 0.5164 GB, free: 15.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.2998, allocations: 76.14 kB / 0.5165 GB, free: 15.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008829/0.3007, allocations: 0.688 MB / 0.5171 GB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3007, allocations: 0 / 0.5171 GB, free: 15.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3007, allocations: 0 / 0.5171 GB, free: 15.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3007, allocations: 0 / 0.5171 GB, free: 15.02 MB / 410.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.0005758/0.3013, allocations: 0.5402 MB / 0.5177 GB, free: 14.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3013, allocations: 8.344 kB / 0.5177 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.3025, allocations: 331.3 kB / 0.518 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3027, allocations: 221 kB / 0.5182 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3027, allocations: 13.89 kB / 0.5182 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.3028, allocations: 22.81 kB / 0.5182 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.3032, allocations: 0.5022 MB / 0.5187 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.3032, allocations: 0 / 0.5187 GB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.3033, allocations: 15.05 kB / 0.5187 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.3033, allocations: 9.031 kB / 0.5187 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.3037, allocations: 295.6 kB / 0.519 GB, free: 13.98 MB / 410.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.001169/0.3048, allocations: 0.8856 MB / 0.5199 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.305, allocations: 187.2 kB / 0.5201 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3052, allocations: 111.3 kB / 0.5202 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/0.3056, allocations: 153.5 kB / 0.5203 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.3056, allocations: 40.64 kB / 0.5204 GB, free: 13.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.452e-06/0.3056, allocations: 0 / 0.5204 GB, free: 13.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.000965/0.3065, allocations: 467.2 kB / 0.5208 GB, free: 13.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.3066, allocations: 79.8 kB / 0.5209 GB, free: 12.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.936e-05/0.3066, allocations: 189.8 kB / 0.5211 GB, free: 12.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.3067, allocations: 32.64 kB / 0.5211 GB, free: 12.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.3067, allocations: 159.7 kB / 0.5213 GB, free: 12.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/0.3068, allocations: 115.6 kB / 0.5214 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-05/0.3068, allocations: 77.31 kB / 0.5214 GB, free: 12.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.3069, allocations: 0.4979 MB / 0.5219 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.307, allocations: 99 kB / 0.522 GB, free: 11.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3072, allocations: 249.3 kB / 0.5223 GB, free: 11.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3075, allocations: 374.7 kB / 0.5226 GB, free: 11.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3075, allocations: 3.312 kB / 0.5226 GB, free: 11.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004534/0.3079, allocations: 380.3 kB / 0.523 GB, free: 11.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.308, allocations: 8.125 kB / 0.523 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.308, allocations: 6.969 kB / 0.523 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.308, allocations: 8.062 kB / 0.523 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.3082, allocations: 84.03 kB / 0.5231 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3082, allocations: 5.906 kB / 0.5231 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.3084, allocations: 35.59 kB / 0.5231 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.3085, allocations: 20.12 kB / 0.5231 GB, free: 11.34 MB / 410.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 (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 8.236e-05/0.3085, allocations: 177.7 kB / 0.5233 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.131e-05/0.3086, allocations: 37.16 kB / 0.5233 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004554/0.3091, allocations: 372.7 kB / 0.5237 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3091, allocations: 2.938 kB / 0.5237 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3091, allocations: 0 / 0.5237 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3091, allocations: 3.281 kB / 0.5237 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.3094, allocations: 326.9 kB / 0.524 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3094, allocations: 0 / 0.524 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.3097, allocations: 56.48 kB / 0.5241 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3097, allocations: 0 / 0.5241 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.3097, allocations: 16.44 kB / 0.5241 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3097, allocations: 3.938 kB / 0.5241 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3097, allocations: 2.5 kB / 0.5241 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.3102, allocations: 0.6672 MB / 0.5247 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.3102, allocations: 17.28 kB / 0.5248 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.3103, allocations: 14.14 kB / 0.5248 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.3105, allocations: 17.55 kB / 0.5248 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.3105, allocations: 22.16 kB / 0.5248 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3106, allocations: 17.09 kB / 0.5248 GB, free: 10.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.084e-05/0.3106, allocations: 138.9 kB / 0.525 GB, free: 10.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3106, allocations: 0 / 0.525 GB, free: 10.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004405/0.311, allocations: 163.6 kB / 0.5251 GB, free: 10.18 MB / 410.7 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.0005291/0.3116, allocations: 357.8 kB / 0.5255 GB, free: 10.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003477/0.3119, allocations: 293.3 kB / 0.5257 GB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3119, allocations: 0 / 0.5257 GB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.312, allocations: 164.7 kB / 0.5259 GB, free: 9.922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.3125, allocations: 98.11 kB / 0.526 GB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009954/0.3135, allocations: 0.6712 MB / 0.5266 GB, free: 9.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.325e-05/0.3135, allocations: 85.48 kB / 0.5267 GB, free: 9.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.3138, allocations: 104.7 kB / 0.5268 GB, free: 9.301 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.3139, allocations: 32.23 kB / 0.5269 GB, free: 9.289 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3139, allocations: 0 / 0.5269 GB, free: 9.289 MB / 410.7 MB Notification: Performance of Templates: time 0.008088/0.322, allocations: 8.333 MB / 0.535 GB, free: 7.129 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7303654081188142]