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.001333/0.001333, allocations: 106 kB / 21.18 MB, free: 0.7188 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.001335/0.001335, allocations: 189.2 kB / 24.47 MB, free: 4.094 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.402/1.402, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.001807/0.001807, allocations: 51.92 kB / 347.7 MB, free: 9.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.273, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1865/0.4595, allocations: 151.5 MB / 0.5354 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.4625, allocations: 2.099 MB / 0.5375 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.4626, allocations: 4 kB / 0.5375 GB, free: 9.301 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.463, allocations: 59.7 kB / 0.5375 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.4649, allocations: 0.6257 MB / 0.5381 GB, free: 8.617 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.4653, allocations: 107.8 kB / 0.5382 GB, free: 8.512 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.4657, allocations: 267 kB / 0.5385 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.4657, allocations: 7.984 kB / 0.5385 GB, free: 8.242 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.4661, allocations: 135.5 kB / 0.5386 GB, free: 8.109 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.4663, allocations: 99.62 kB / 0.5387 GB, free: 8.012 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.4663, allocations: 8 kB / 0.5387 GB, free: 8.004 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.4682, allocations: 0.869 MB / 0.5396 GB, free: 7.133 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4683, allocations: 87.7 kB / 0.5397 GB, free: 7.047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.4685, allocations: 91.66 kB / 0.5398 GB, free: 6.957 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.4698, allocations: 0.6487 MB / 0.5404 GB, free: 6.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4698, allocations: 0 / 0.5404 GB, free: 6.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4698, allocations: 0 / 0.5404 GB, free: 6.312 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.4699, allocations: 3.938 kB / 0.5404 GB, free: 6.309 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.0008742/0.4707, allocations: 441.5 kB / 0.5408 GB, free: 5.848 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4708, allocations: 11.98 kB / 0.5408 GB, free: 5.836 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.4728, allocations: 276.4 kB / 0.5411 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.4732, allocations: 222.3 kB / 0.5413 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.4732, allocations: 12.7 kB / 0.5413 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-05/0.4733, allocations: 19.94 kB / 0.5413 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008031/0.4741, allocations: 0.4967 MB / 0.5418 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4741, allocations: 0 / 0.5418 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.4742, allocations: 8 kB / 0.5418 GB, free: 4.777 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.4742, allocations: 11.98 kB / 0.5418 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/0.4752, allocations: 0.5894 MB / 0.5424 GB, free: 4.176 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.002289/0.4774, allocations: 0.9911 MB / 0.5434 GB, free: 3.137 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.4779, allocations: 241 kB / 0.5436 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.4781, allocations: 189.5 kB / 0.5438 GB, free: 2.691 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000747/0.4789, allocations: 128 kB / 0.5439 GB, free: 2.566 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.4789, allocations: 34.56 kB / 0.544 GB, free: 2.523 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.4789, allocations: 0 / 0.544 GB, free: 2.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001995/0.4809, allocations: 0.5952 MB / 0.5445 GB, free: 1.922 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.481, allocations: 81.11 kB / 0.5446 GB, free: 1.824 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.4811, allocations: 129.8 kB / 0.5447 GB, free: 1.688 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.4812, allocations: 33.7 kB / 0.5448 GB, free: 1.648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.4812, allocations: 112.5 kB / 0.5449 GB, free: 1.535 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.4813, allocations: 115 kB / 0.545 GB, free: 1.422 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.4815, allocations: 65.66 kB / 0.545 GB, free: 1.352 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000241/0.4817, allocations: 334.8 kB / 0.5454 GB, free: 1.016 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.4821, allocations: 187.8 kB / 0.5455 GB, free: 0.832 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.4825, allocations: 292.5 kB / 0.5458 GB, free: 0.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009541/0.4835, allocations: 489.2 kB / 0.5463 GB, free: 15.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4835, allocations: 0 / 0.5463 GB, free: 15.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001021/0.4845, allocations: 0.5166 MB / 0.5468 GB, free: 15.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4845, allocations: 8.406 kB / 0.5468 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.4845, allocations: 8 kB / 0.5468 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4845, allocations: 4 kB / 0.5468 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.4851, allocations: 83.83 kB / 0.5469 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.4851, allocations: 11.98 kB / 0.5469 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.4854, allocations: 35.77 kB / 0.5469 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.4855, allocations: 16 kB / 0.547 GB, free: 15.29 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.0001771/0.4857, allocations: 145.7 kB / 0.5471 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.4858, allocations: 15.89 kB / 0.5471 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4868, allocations: 0.4945 MB / 0.5476 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4868, allocations: 8 kB / 0.5476 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4868, allocations: 0 / 0.5476 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4868, allocations: 0 / 0.5476 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007857/0.4876, allocations: 429.1 kB / 0.548 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.4876, allocations: 4 kB / 0.548 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.4881, allocations: 63.89 kB / 0.5481 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4881, allocations: 0 / 0.5481 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.4882, allocations: 12 kB / 0.5481 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.4882, allocations: 3.938 kB / 0.5481 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4882, allocations: 0 / 0.5481 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.4894, allocations: 0.6916 MB / 0.5488 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.4894, allocations: 19.83 kB / 0.5488 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.4895, allocations: 8 kB / 0.5488 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004676/0.49, allocations: 19.97 kB / 0.5488 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.49, allocations: 19.97 kB / 0.5488 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/0.4901, allocations: 19.98 kB / 0.5488 GB, free: 13.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.997e-05/0.4902, allocations: 99.7 kB / 0.5489 GB, free: 13.18 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4902, allocations: 0 / 0.5489 GB, free: 13.18 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007222/0.4909, allocations: 159.7 kB / 0.5491 GB, free: 13.02 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.0008725/0.4917, allocations: 331 kB / 0.5494 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008493/0.4926, allocations: 432.1 kB / 0.5498 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4926, allocations: 0 / 0.5498 GB, free: 12.26 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.493, allocations: 215.8 kB / 0.55 GB, free: 12.05 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.4937, allocations: 100.7 kB / 0.5501 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.4953, allocations: 0.8811 MB / 0.551 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.4957, allocations: 0.7327 MB / 0.5517 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004786/0.4962, allocations: 121.7 kB / 0.5518 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.4963, allocations: 27.42 kB / 0.5518 GB, free: 10.14 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4963, allocations: 0 / 0.5518 GB, free: 10.14 MB / 478.1 MB Notification: Performance of Templates: time 0.01501/0.5113, allocations: 8.365 MB / 0.56 GB, free: 1.762 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.140601417981088]