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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 191.2 kB / 22.93 MB, free: 5.488 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.417/1.417, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 54.11 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2937, allocations: 49.12 MB / 394.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1886/0.4824, allocations: 151.5 MB / 0.5332 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.4851, allocations: 2.103 MB / 0.5352 GB, free: 9.762 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.4852, allocations: 4 kB / 0.5352 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.4856, allocations: 59.72 kB / 0.5353 GB, free: 9.699 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.4872, allocations: 0.6183 MB / 0.5359 GB, free: 9.078 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.4876, allocations: 99.8 kB / 0.536 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.4879, allocations: 259 kB / 0.5362 GB, free: 8.727 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.488, allocations: 11.66 kB / 0.5363 GB, free: 8.719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.4883, allocations: 135.4 kB / 0.5364 GB, free: 8.586 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.4885, allocations: 103.6 kB / 0.5365 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.4885, allocations: 11.94 kB / 0.5365 GB, free: 8.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.49, allocations: 0.8573 MB / 0.5373 GB, free: 7.613 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.4901, allocations: 83.75 kB / 0.5374 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.4903, allocations: 95.64 kB / 0.5375 GB, free: 7.438 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009798/0.4912, allocations: 0.6443 MB / 0.5381 GB, free: 6.797 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4912, allocations: 4 kB / 0.5381 GB, free: 6.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4912, allocations: 0 / 0.5381 GB, free: 6.793 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.421e-05/0.4913, allocations: 3.984 kB / 0.5381 GB, free: 6.789 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.000839/0.4921, allocations: 0.5025 MB / 0.5386 GB, free: 6.238 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4921, allocations: 15.89 kB / 0.5386 GB, free: 6.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.4941, allocations: 264.4 kB / 0.5389 GB, free: 5.965 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004329/0.4945, allocations: 280.1 kB / 0.5392 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.4945, allocations: 12.7 kB / 0.5392 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/0.4946, allocations: 27.94 kB / 0.5392 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.4955, allocations: 0.4928 MB / 0.5397 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.4955, allocations: 0 / 0.5397 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.4956, allocations: 12 kB / 0.5397 GB, free: 5.098 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.4956, allocations: 8 kB / 0.5397 GB, free: 5.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/0.4965, allocations: 0.5855 MB / 0.5403 GB, free: 4.504 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.002356/0.4989, allocations: 1.019 MB / 0.5413 GB, free: 3.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.4993, allocations: 237 kB / 0.5415 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.4996, allocations: 189.6 kB / 0.5417 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008082/0.5004, allocations: 274.2 kB / 0.5419 GB, free: 2.684 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.5005, allocations: 38.56 kB / 0.542 GB, free: 2.637 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 6.753e-06/0.5005, allocations: 3.984 kB / 0.542 GB, free: 2.633 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001922/0.5024, allocations: 0.599 MB / 0.5426 GB, free: 2.027 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.5024, allocations: 81.11 kB / 0.5426 GB, free: 1.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.5026, allocations: 137.6 kB / 0.5428 GB, free: 1.785 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.597e-05/0.5026, allocations: 29.7 kB / 0.5428 GB, free: 1.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.5027, allocations: 116.5 kB / 0.5429 GB, free: 1.633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.5028, allocations: 115 kB / 0.543 GB, free: 1.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.5029, allocations: 65.66 kB / 0.5431 GB, free: 1.449 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.5031, allocations: 326.8 kB / 0.5434 GB, free: 1.121 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003449/0.5035, allocations: 191.9 kB / 0.5436 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.5039, allocations: 288.5 kB / 0.5439 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.5047, allocations: 484.6 kB / 0.5443 GB, free: 88 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5047, allocations: 8 kB / 0.5443 GB, free: 80 kB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00099/0.5056, allocations: 0.5206 MB / 0.5448 GB, free: 15.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5057, allocations: 4 kB / 0.5448 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.5057, allocations: 4.406 kB / 0.5448 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.5057, allocations: 11.94 kB / 0.5449 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000539/0.5062, allocations: 87.88 kB / 0.5449 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.5062, allocations: 4 kB / 0.5449 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.5066, allocations: 35.77 kB / 0.545 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.5067, allocations: 20 kB / 0.545 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.0001833/0.5069, allocations: 149.6 kB / 0.5451 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.507, allocations: 15.89 kB / 0.5451 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.508, allocations: 0.4953 MB / 0.5456 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.508, allocations: 8 kB / 0.5456 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.508, allocations: 0 / 0.5456 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.508, allocations: 4 kB / 0.5456 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007731/0.5088, allocations: 457.9 kB / 0.5461 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5088, allocations: 0 / 0.5461 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/0.5093, allocations: 63.89 kB / 0.5461 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.5093, allocations: 4 kB / 0.5461 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.5094, allocations: 8 kB / 0.5462 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5094, allocations: 0 / 0.5462 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5094, allocations: 0 / 0.5462 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.5105, allocations: 0.6878 MB / 0.5468 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/0.5106, allocations: 96.94 kB / 0.5469 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.5106, allocations: 8 kB / 0.5469 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.5111, allocations: 19.97 kB / 0.5469 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.5112, allocations: 15.98 kB / 0.547 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.5112, allocations: 19.98 kB / 0.547 GB, free: 13.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.119e-05/0.5113, allocations: 107.2 kB / 0.5471 GB, free: 13.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5113, allocations: 0 / 0.5471 GB, free: 13.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006836/0.512, allocations: 155.7 kB / 0.5472 GB, free: 12.99 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.0008049/0.5128, allocations: 334.8 kB / 0.5475 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008472/0.5136, allocations: 428.2 kB / 0.548 GB, free: 12.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5137, allocations: 0 / 0.548 GB, free: 12.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.514, allocations: 215.7 kB / 0.5482 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/0.5148, allocations: 96.5 kB / 0.5483 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.5163, allocations: 0.8858 MB / 0.5491 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.5167, allocations: 0.7366 MB / 0.5498 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004889/0.5172, allocations: 113.8 kB / 0.5499 GB, free: 10.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.5173, allocations: 27.42 kB / 0.55 GB, free: 10.12 MB / 478.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5173, allocations: 0 / 0.55 GB, free: 10.12 MB / 478.1 MB Notification: Performance of Templates: time 0.01459/0.5319, allocations: 8.285 MB / 0.5581 GB, free: 1.82 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/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: 5.177159871906042]