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.001766/0.001766, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002373/0.002373, allocations: 202.7 kB / 25.23 MB, free: 3.551 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.551/1.551, allocations: 207.6 MB / 236 MB, free: 9.992 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.001951/0.001951, allocations: 56.33 kB / 348.4 MB, free: 9.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2778, allocations: 49.17 MB / 397.6 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1776/0.4554, allocations: 151.5 MB / 0.5362 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.4584, allocations: 2.11 MB / 0.5383 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.4585, allocations: 0 / 0.5383 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.4589, allocations: 59.66 kB / 0.5383 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.4607, allocations: 0.6222 MB / 0.5389 GB, free: 8.719 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.461, allocations: 103.8 kB / 0.539 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.4615, allocations: 274.9 kB / 0.5393 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.4615, allocations: 7.656 kB / 0.5393 GB, free: 8.344 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.4618, allocations: 135.4 kB / 0.5394 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.4621, allocations: 103.6 kB / 0.5395 GB, free: 8.109 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.4621, allocations: 8 kB / 0.5395 GB, free: 8.102 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.464, allocations: 0.8728 MB / 0.5404 GB, free: 7.227 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.4641, allocations: 83.77 kB / 0.5405 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.4642, allocations: 95.64 kB / 0.5406 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.4655, allocations: 0.6485 MB / 0.5412 GB, free: 6.402 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4655, allocations: 0 / 0.5412 GB, free: 6.402 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4655, allocations: 0 / 0.5412 GB, free: 6.402 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.4655, allocations: 4 kB / 0.5412 GB, free: 6.398 MB / 462.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.0009315/0.4665, allocations: 441.4 kB / 0.5416 GB, free: 5.938 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4665, allocations: 15.98 kB / 0.5416 GB, free: 5.922 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.4686, allocations: 264.5 kB / 0.5419 GB, free: 5.664 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005344/0.4691, allocations: 218.3 kB / 0.5421 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4691, allocations: 12.7 kB / 0.5421 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-05/0.4692, allocations: 19.94 kB / 0.5421 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/0.4701, allocations: 0.5045 MB / 0.5426 GB, free: 4.879 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4701, allocations: 0 / 0.5426 GB, free: 4.879 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.4701, allocations: 8 kB / 0.5426 GB, free: 4.871 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.4702, allocations: 8 kB / 0.5426 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000937/0.4711, allocations: 0.5933 MB / 0.5432 GB, free: 4.27 MB / 462.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.002491/0.4736, allocations: 0.995 MB / 0.5442 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.474, allocations: 233.1 kB / 0.5444 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.4743, allocations: 181.6 kB / 0.5446 GB, free: 2.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/0.475, allocations: 127.9 kB / 0.5447 GB, free: 2.672 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4751, allocations: 42.5 kB / 0.5447 GB, free: 2.621 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.275e-06/0.4751, allocations: 3.938 kB / 0.5447 GB, free: 2.617 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002013/0.4771, allocations: 0.5953 MB / 0.5453 GB, free: 2.016 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.4771, allocations: 81.11 kB / 0.5454 GB, free: 1.918 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.4773, allocations: 129.8 kB / 0.5455 GB, free: 1.781 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.4773, allocations: 33.7 kB / 0.5456 GB, free: 1.742 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.4774, allocations: 112.5 kB / 0.5457 GB, free: 1.629 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.4775, allocations: 107.1 kB / 0.5458 GB, free: 1.523 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.4777, allocations: 69.64 kB / 0.5458 GB, free: 1.449 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4778, allocations: 326.8 kB / 0.5461 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.4782, allocations: 183.9 kB / 0.5463 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/0.4787, allocations: 288.5 kB / 0.5466 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008146/0.4795, allocations: 0.4933 MB / 0.5471 GB, free: 76 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.4795, allocations: 0 / 0.5471 GB, free: 76 kB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001059/0.4805, allocations: 0.5205 MB / 0.5476 GB, free: 15.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4806, allocations: 8 kB / 0.5476 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4806, allocations: 7.938 kB / 0.5476 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4806, allocations: 4 kB / 0.5476 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.4812, allocations: 80.3 kB / 0.5477 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.4812, allocations: 8 kB / 0.5477 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.4816, allocations: 43.7 kB / 0.5477 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.4816, allocations: 19.98 kB / 0.5477 GB, free: 15.38 MB / 478.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.0001955/0.4818, allocations: 141.8 kB / 0.5479 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.4819, allocations: 15.89 kB / 0.5479 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.483, allocations: 490.5 kB / 0.5484 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.483, allocations: 4 kB / 0.5484 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.483, allocations: 0 / 0.5484 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.483, allocations: 3.984 kB / 0.5484 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007952/0.4838, allocations: 437 kB / 0.5488 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4838, allocations: 0 / 0.5488 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005255/0.4843, allocations: 59.89 kB / 0.5488 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.4843, allocations: 4 kB / 0.5488 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.4844, allocations: 11.98 kB / 0.5489 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.4844, allocations: 4 kB / 0.5489 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4844, allocations: 3.984 kB / 0.5489 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.4856, allocations: 0.6954 MB / 0.5495 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.4856, allocations: 15.84 kB / 0.5496 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.4857, allocations: 8 kB / 0.5496 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/0.4862, allocations: 23.97 kB / 0.5496 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.4862, allocations: 15.97 kB / 0.5496 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.4863, allocations: 19.98 kB / 0.5496 GB, free: 13.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.437e-05/0.4864, allocations: 99.25 kB / 0.5497 GB, free: 13.28 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4864, allocations: 4 kB / 0.5497 GB, free: 13.27 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006827/0.487, allocations: 159.7 kB / 0.5499 GB, free: 13.12 MB / 478.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.0008901/0.4879, allocations: 330.7 kB / 0.5502 GB, free: 12.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008832/0.4888, allocations: 427.5 kB / 0.5506 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4888, allocations: 0.8125 kB / 0.5506 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.4892, allocations: 207.8 kB / 0.5508 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007424/0.4899, allocations: 100.2 kB / 0.5509 GB, free: 12.06 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.4915, allocations: 0.9149 MB / 0.5518 GB, free: 11.11 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.4919, allocations: 0.7366 MB / 0.5525 GB, free: 10.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.4922, allocations: 35.42 kB / 0.5525 GB, free: 10.32 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4922, allocations: 0 / 0.5525 GB, free: 10.32 MB / 478.1 MB Notification: Performance of Templates: time 0.01176/0.5039, allocations: 6.756 MB / 0.5591 GB, free: 3.551 MB / 478.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.751169701805338]