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.001321/0.001321, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001435/0.001435, allocations: 163.4 kB / 25.61 MB, free: 8.582 MB / 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 1.119/1.119, allocations: 177 MB / 205.9 MB, free: 4.453 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.1996/0.1996, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 179] 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.673e-06/1.673e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.869e-05, allocations: 7.234 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4016/0.4017, allocations: 142.9 MB / 0.5106 GB, free: 13.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.4042, allocations: 2.214 MB / 0.5128 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.299e-05/0.4043, allocations: 0 / 0.5128 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.4047, allocations: 52.89 kB / 0.5128 GB, free: 13.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.4062, allocations: 0.664 MB / 0.5135 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.4065, allocations: 104.6 kB / 0.5136 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.4068, allocations: 260.1 kB / 0.5138 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.4069, allocations: 2.531 kB / 0.5138 GB, free: 13.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.4072, allocations: 180.5 kB / 0.514 GB, free: 13.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.4073, allocations: 95.27 kB / 0.5141 GB, free: 13.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.4074, allocations: 8 kB / 0.5141 GB, free: 13.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.4086, allocations: 0.7704 MB / 0.5148 GB, free: 13.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.4087, allocations: 91.36 kB / 0.5149 GB, free: 13.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.614e-05/0.4087, allocations: 77.3 kB / 0.515 GB, free: 13.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009118/0.4097, allocations: 0.6818 MB / 0.5157 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4097, allocations: 3.344 kB / 0.5157 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4097, allocations: 0 / 0.5157 GB, free: 13.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.4097, allocations: 4 kB / 0.5157 GB, free: 13.41 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.0006851/0.4104, allocations: 0.5401 MB / 0.5162 GB, free: 12.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4104, allocations: 11.5 kB / 0.5162 GB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.4116, allocations: 287.3 kB / 0.5165 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.4119, allocations: 212.7 kB / 0.5167 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.4119, allocations: 21.17 kB / 0.5167 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.412, allocations: 18.8 kB / 0.5167 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.4125, allocations: 485.8 kB / 0.5172 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4125, allocations: 0 / 0.5172 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.4125, allocations: 6.031 kB / 0.5172 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.4125, allocations: 19.95 kB / 0.5172 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.4129, allocations: 250.9 kB / 0.5175 GB, free: 12.54 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.001195/0.4141, allocations: 0.8399 MB / 0.5183 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.4143, allocations: 161.4 kB / 0.5184 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.227e-05/0.4144, allocations: 97.77 kB / 0.5185 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/0.4148, allocations: 135.2 kB / 0.5187 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.4148, allocations: 44.91 kB / 0.5187 GB, free: 11.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.4148, allocations: 0 / 0.5187 GB, free: 11.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.000975/0.4158, allocations: 421.6 kB / 0.5191 GB, free: 11.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.4158, allocations: 86.92 kB / 0.5192 GB, free: 11.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.4159, allocations: 192.2 kB / 0.5194 GB, free: 11.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.416, allocations: 28.95 kB / 0.5194 GB, free: 11.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.416, allocations: 164 kB / 0.5195 GB, free: 11.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.4161, allocations: 112.7 kB / 0.5197 GB, free: 11.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.752e-05/0.4162, allocations: 79.25 kB / 0.5197 GB, free: 11.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.4163, allocations: 0.4958 MB / 0.5202 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.581e-05/0.4163, allocations: 73.28 kB / 0.5203 GB, free: 10.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.4165, allocations: 238.8 kB / 0.5205 GB, free: 10.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.4168, allocations: 334.7 kB / 0.5208 GB, free: 10.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.4168, allocations: 7.188 kB / 0.5208 GB, free: 10.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004975/0.4173, allocations: 337.5 kB / 0.5212 GB, free: 10.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4173, allocations: 9.609 kB / 0.5212 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.4173, allocations: 3 kB / 0.5212 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4173, allocations: 9.844 kB / 0.5212 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.4176, allocations: 78.98 kB / 0.5213 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4176, allocations: 5.781 kB / 0.5213 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.4178, allocations: 31.44 kB / 0.5213 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.4178, allocations: 16.77 kB / 0.5213 GB, free: 10.37 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 0.0001128/0.4179, allocations: 181.8 kB / 0.5215 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.418, allocations: 33.05 kB / 0.5215 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004284/0.4184, allocations: 326.9 kB / 0.5218 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4184, allocations: 6.969 kB / 0.5218 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4184, allocations: 0 / 0.5218 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4185, allocations: 2 kB / 0.5218 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.4188, allocations: 285.9 kB / 0.5221 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4188, allocations: 6.75 kB / 0.5221 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.419, allocations: 52 kB / 0.5222 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4191, allocations: 2.844 kB / 0.5222 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.4191, allocations: 10.22 kB / 0.5222 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4191, allocations: 80 / 0.5222 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4191, allocations: 7.922 kB / 0.5222 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.4196, allocations: 0.6327 MB / 0.5228 GB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.4196, allocations: 19.3 kB / 0.5228 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.4197, allocations: 13.12 kB / 0.5228 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.4199, allocations: 17.44 kB / 0.5228 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.4199, allocations: 22.59 kB / 0.5229 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.4199, allocations: 13.02 kB / 0.5229 GB, free: 9.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.756e-05/0.42, allocations: 140.5 kB / 0.523 GB, free: 9.477 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.42, allocations: 0 / 0.523 GB, free: 9.477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004896/0.4205, allocations: 159.2 kB / 0.5232 GB, free: 9.457 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.000593/0.4211, allocations: 357.8 kB / 0.5235 GB, free: 9.316 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.4214, allocations: 253.4 kB / 0.5238 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4214, allocations: 0 / 0.5238 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.4215, allocations: 141.2 kB / 0.5239 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.422, allocations: 99.88 kB / 0.524 GB, free: 9.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009973/0.423, allocations: 0.6643 MB / 0.5246 GB, free: 8.809 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.412e-05/0.423, allocations: 87.47 kB / 0.5247 GB, free: 8.738 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.4233, allocations: 83.19 kB / 0.5248 GB, free: 8.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.4236, allocations: 186.9 kB / 0.525 GB, free: 8.617 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4236, allocations: 0 / 0.525 GB, free: 8.617 MB / 410.7 MB Notification: Performance of Templates: time 0.01092/0.4345, allocations: 9.818 MB / 0.5346 GB, free: 4.582 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: 4.125606695190072]