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.001338/0.001338, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001406/0.001406, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.422/1.422, allocations: 207.6 MB / 235.3 MB, free: 10 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: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [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.002825/0.002825, allocations: 50.58 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2653, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1771/0.4424, allocations: 151.5 MB / 0.535 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.4451, allocations: 2.107 MB / 0.537 GB, free: 9.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.4452, allocations: 0 / 0.537 GB, free: 9.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.4455, allocations: 55.72 kB / 0.5371 GB, free: 9.125 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.447, allocations: 0.6296 MB / 0.5377 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.4474, allocations: 107.8 kB / 0.5378 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.4477, allocations: 263 kB / 0.5381 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.4478, allocations: 7.984 kB / 0.5381 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.4481, allocations: 143.3 kB / 0.5382 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.4483, allocations: 95.69 kB / 0.5383 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.4483, allocations: 8 kB / 0.5383 GB, free: 7.883 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.4499, allocations: 0.8729 MB / 0.5391 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.45, allocations: 83.75 kB / 0.5392 GB, free: 6.926 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.4502, allocations: 95.64 kB / 0.5393 GB, free: 6.832 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.4512, allocations: 0.6478 MB / 0.54 GB, free: 6.188 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4512, allocations: 0 / 0.54 GB, free: 6.188 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4512, allocations: 0 / 0.54 GB, free: 6.188 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.4512, allocations: 4 kB / 0.54 GB, free: 6.184 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.0008456/0.4521, allocations: 445.4 kB / 0.5404 GB, free: 5.719 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4521, allocations: 11.98 kB / 0.5404 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.758e-05/0.4522, allocations: 54.73 kB / 0.5404 GB, free: 5.645 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.4541, allocations: 264.5 kB / 0.5407 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.4545, allocations: 222.2 kB / 0.5409 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.4545, allocations: 16.45 kB / 0.5409 GB, free: 5.129 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.935e-05/0.4546, allocations: 16 kB / 0.5409 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008105/0.4554, allocations: 0.4967 MB / 0.5414 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4554, allocations: 3.938 kB / 0.5414 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.4555, allocations: 12 kB / 0.5414 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.4555, allocations: 8 kB / 0.5414 GB, free: 4.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000888/0.4564, allocations: 0.5855 MB / 0.542 GB, free: 3.996 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.002283/0.4587, allocations: 0.9912 MB / 0.543 GB, free: 2.957 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.4591, allocations: 244.9 kB / 0.5432 GB, free: 2.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.4594, allocations: 181.6 kB / 0.5434 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007404/0.4601, allocations: 131.9 kB / 0.5435 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.4602, allocations: 38.5 kB / 0.5436 GB, free: 2.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.774e-06/0.4602, allocations: 0 / 0.5436 GB, free: 2.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001931/0.4621, allocations: 0.5954 MB / 0.5441 GB, free: 1.738 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.4622, allocations: 81.05 kB / 0.5442 GB, free: 1.641 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.4623, allocations: 129.8 kB / 0.5443 GB, free: 1.504 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.4624, allocations: 33.7 kB / 0.5444 GB, free: 1.465 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.4624, allocations: 120.5 kB / 0.5445 GB, free: 1.344 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4625, allocations: 103.1 kB / 0.5446 GB, free: 1.242 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.4627, allocations: 69.64 kB / 0.5447 GB, free: 1.168 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4628, allocations: 326.8 kB / 0.545 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.4632, allocations: 183.9 kB / 0.5451 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.4636, allocations: 288.5 kB / 0.5454 GB, free: 340 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.4644, allocations: 497.1 kB / 0.5459 GB, free: 15.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4644, allocations: 0 / 0.5459 GB, free: 15.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009709/0.4654, allocations: 0.5284 MB / 0.5464 GB, free: 15.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4654, allocations: 8 kB / 0.5464 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.4654, allocations: 4 kB / 0.5464 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.4654, allocations: 4 kB / 0.5464 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.4659, allocations: 75.89 kB / 0.5465 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4659, allocations: 8 kB / 0.5465 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.4663, allocations: 39.77 kB / 0.5465 GB, free: 15.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.4663, allocations: 16.23 kB / 0.5466 GB, free: 15.11 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.0001745/0.4665, allocations: 157.6 kB / 0.5467 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4666, allocations: 11.95 kB / 0.5467 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009746/0.4676, allocations: 498.3 kB / 0.5472 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.4676, allocations: 4 kB / 0.5472 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4676, allocations: 0 / 0.5472 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4676, allocations: 3.984 kB / 0.5472 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.4684, allocations: 429 kB / 0.5476 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4684, allocations: 4 kB / 0.5476 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.4689, allocations: 63.89 kB / 0.5477 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4689, allocations: 4 kB / 0.5477 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.4689, allocations: 15.98 kB / 0.5477 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4689, allocations: 0 / 0.5477 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4689, allocations: 0 / 0.5477 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.47, allocations: 0.683 MB / 0.5484 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.355e-05/0.4701, allocations: 19.84 kB / 0.5484 GB, free: 13.17 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.4701, allocations: 8 kB / 0.5484 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.4706, allocations: 23.91 kB / 0.5484 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.4706, allocations: 19.97 kB / 0.5484 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.4707, allocations: 19.98 kB / 0.5484 GB, free: 13.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.328e-05/0.4708, allocations: 99.25 kB / 0.5485 GB, free: 13 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4708, allocations: 0 / 0.5485 GB, free: 13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006381/0.4714, allocations: 151.8 kB / 0.5487 GB, free: 12.85 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.002132/0.4735, allocations: 1.472 MB / 0.5501 GB, free: 11.35 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007969/0.4743, allocations: 423.9 kB / 0.5505 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4743, allocations: 0 / 0.5505 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.4747, allocations: 212.4 kB / 0.5507 GB, free: 10.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.4754, allocations: 93.94 kB / 0.5508 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.4798, allocations: 3.241 MB / 0.554 GB, free: 7.223 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4802, allocations: 0.744 MB / 0.5547 GB, free: 6.453 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000449/0.4807, allocations: 109.8 kB / 0.5548 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.4809, allocations: 59.42 kB / 0.5549 GB, free: 6.293 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4809, allocations: 0 / 0.5549 GB, free: 6.293 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2067/0.6876, allocations: 10.84 MB / 0.5655 GB, free: 163.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.95, allocations: 7.766 kB / 0.5655 GB, free: 163.4 MB / 478.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] 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: 14.380515357013792]