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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 108 kB / 21.93 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 213.5 kB / 25.22 MB, free: 3.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 58.52 kB / 348.4 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2697, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1833/0.453, allocations: 129.9 MB / 0.5151 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.4561, allocations: 1.889 MB / 0.5169 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.4562, allocations: 0 / 0.5169 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.4566, allocations: 43.69 kB / 0.517 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.4586, allocations: 0.6258 MB / 0.5176 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.4589, allocations: 115.7 kB / 0.5177 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.4594, allocations: 263 kB / 0.518 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.4594, allocations: 7.984 kB / 0.518 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.4597, allocations: 139.4 kB / 0.5181 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.46, allocations: 91.64 kB / 0.5182 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.46, allocations: 8 kB / 0.5182 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.4617, allocations: 0.7441 MB / 0.5189 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.4618, allocations: 79.81 kB / 0.519 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.462, allocations: 83.67 kB / 0.5191 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.4631, allocations: 0.6453 MB / 0.5197 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4631, allocations: 4 kB / 0.5197 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4631, allocations: 0 / 0.5197 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.4631, allocations: 0 / 0.5197 GB, free: 12.14 MB / 446.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.0008884/0.464, allocations: 437.4 kB / 0.5201 GB, free: 11.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.464, allocations: 11.98 kB / 0.5201 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.466, allocations: 272.5 kB / 0.5204 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.4665, allocations: 218.3 kB / 0.5206 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.4665, allocations: 16.7 kB / 0.5206 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/0.4666, allocations: 23.94 kB / 0.5206 GB, free: 11.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.4676, allocations: 0.6473 MB / 0.5213 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4676, allocations: 0 / 0.5213 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.4676, allocations: 8 kB / 0.5213 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.4677, allocations: 8 kB / 0.5213 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009033/0.4686, allocations: 0.5894 MB / 0.5219 GB, free: 9.824 MB / 446.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.002341/0.4709, allocations: 0.9214 MB / 0.5228 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004328/0.4713, allocations: 233.1 kB / 0.523 GB, free: 8.621 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.4716, allocations: 185.6 kB / 0.5232 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/0.4723, allocations: 119.9 kB / 0.5233 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.4724, allocations: 50.42 kB / 0.5233 GB, free: 8.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.4724, allocations: 0 / 0.5233 GB, free: 8.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002028/0.4744, allocations: 0.5875 MB / 0.5239 GB, free: 7.664 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4745, allocations: 85.11 kB / 0.524 GB, free: 7.562 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.4746, allocations: 125.8 kB / 0.5241 GB, free: 7.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.4747, allocations: 29.7 kB / 0.5241 GB, free: 7.395 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.4747, allocations: 124.5 kB / 0.5242 GB, free: 7.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4748, allocations: 107.1 kB / 0.5244 GB, free: 7.164 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.475, allocations: 69.69 kB / 0.5244 GB, free: 7.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4751, allocations: 322.8 kB / 0.5247 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.4755, allocations: 183.9 kB / 0.5249 GB, free: 6.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/0.4759, allocations: 288.5 kB / 0.5252 GB, free: 6.258 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007942/0.4767, allocations: 0.4894 MB / 0.5257 GB, free: 5.723 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4767, allocations: 4 kB / 0.5257 GB, free: 5.719 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009917/0.4777, allocations: 0.5169 MB / 0.5262 GB, free: 5.195 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.4777, allocations: 12.03 kB / 0.5262 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.4778, allocations: 7.984 kB / 0.5262 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.4778, allocations: 4 kB / 0.5262 GB, free: 5.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.4783, allocations: 79.89 kB / 0.5263 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.4783, allocations: 11.94 kB / 0.5263 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.4787, allocations: 43.69 kB / 0.5263 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.4788, allocations: 16 kB / 0.5263 GB, free: 5.023 MB / 446.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.000232/0.479, allocations: 145.8 kB / 0.5265 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.4792, allocations: 19.84 kB / 0.5265 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4802, allocations: 494.3 kB / 0.527 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4802, allocations: 8 kB / 0.527 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4802, allocations: 0 / 0.527 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4802, allocations: 7.984 kB / 0.527 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008428/0.481, allocations: 337.9 kB / 0.5273 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.481, allocations: 4 kB / 0.5273 GB, free: 3.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.4815, allocations: 59.89 kB / 0.5274 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.4816, allocations: 7.938 kB / 0.5274 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/0.4816, allocations: 15.98 kB / 0.5274 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4816, allocations: 0 / 0.5274 GB, free: 3.898 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4816, allocations: 4 kB / 0.5274 GB, free: 3.895 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.4829, allocations: 0.6877 MB / 0.5281 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.4829, allocations: 19.78 kB / 0.5281 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.483, allocations: 8 kB / 0.5281 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.4835, allocations: 19.97 kB / 0.5281 GB, free: 3.145 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.4835, allocations: 15.97 kB / 0.5281 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.4835, allocations: 19.98 kB / 0.5281 GB, free: 3.109 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.519e-05/0.4836, allocations: 103.2 kB / 0.5282 GB, free: 3.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4836, allocations: 0 / 0.5282 GB, free: 3.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007192/0.4844, allocations: 163.7 kB / 0.5284 GB, free: 2.848 MB / 446.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.0008008/0.4852, allocations: 338.7 kB / 0.5287 GB, free: 2.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008236/0.486, allocations: 419.8 kB / 0.5291 GB, free: 2.094 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.486, allocations: 3.938 kB / 0.5291 GB, free: 2.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003708/0.4864, allocations: 208.7 kB / 0.5293 GB, free: 1.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.4871, allocations: 89.66 kB / 0.5294 GB, free: 1.801 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.4886, allocations: 0.9147 MB / 0.5303 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.4887, allocations: 123.4 kB / 0.5304 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.4889, allocations: 39.42 kB / 0.5305 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4889, allocations: 0 / 0.5305 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of Templates: time 0.01106/0.5, allocations: 6.838 MB / 0.5371 GB, free: 9.828 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.597694993019104]