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.001851/0.001851, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.00186/0.00186, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.312/1.312, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 179] 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.001788/0.001788, allocations: 55.92 kB / 347.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2333, 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.209/0.4423, allocations: 151.5 MB / 0.535 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.445, allocations: 2.103 MB / 0.537 GB, free: 9.227 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.909e-05/0.4451, allocations: 7.938 kB / 0.537 GB, free: 9.219 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.4454, allocations: 59.7 kB / 0.5371 GB, free: 9.16 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.4471, allocations: 0.6258 MB / 0.5377 GB, free: 8.535 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003314/0.4474, allocations: 103.7 kB / 0.5378 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.4478, allocations: 263 kB / 0.5381 GB, free: 8.176 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.4478, allocations: 8 kB / 0.5381 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.4481, allocations: 139.4 kB / 0.5382 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.4483, allocations: 99.64 kB / 0.5383 GB, free: 7.934 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.4483, allocations: 8 kB / 0.5383 GB, free: 7.926 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.4499, allocations: 0.8729 MB / 0.5391 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.45, allocations: 83.7 kB / 0.5392 GB, free: 6.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.4501, allocations: 95.66 kB / 0.5393 GB, free: 6.875 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009685/0.4511, allocations: 0.6478 MB / 0.54 GB, free: 6.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4511, allocations: 0 / 0.54 GB, free: 6.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4511, allocations: 0 / 0.54 GB, free: 6.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.4511, allocations: 3.938 kB / 0.54 GB, free: 6.227 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.0007704/0.4519, allocations: 437.5 kB / 0.5404 GB, free: 5.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4519, allocations: 15.92 kB / 0.5404 GB, free: 5.754 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.388e-05/0.452, allocations: 54.73 kB / 0.5404 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/0.4539, allocations: 268.5 kB / 0.5407 GB, free: 5.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.4543, allocations: 230.2 kB / 0.5409 GB, free: 5.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.4544, allocations: 16.45 kB / 0.5409 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.4544, allocations: 19.98 kB / 0.541 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008024/0.4552, allocations: 0.4928 MB / 0.5414 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4552, allocations: 0 / 0.5414 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.4553, allocations: 8 kB / 0.5414 GB, free: 4.633 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.4553, allocations: 8 kB / 0.5414 GB, free: 4.625 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009005/0.4562, allocations: 0.5933 MB / 0.542 GB, free: 4.031 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.002306/0.4585, allocations: 0.9912 MB / 0.543 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.4589, allocations: 241 kB / 0.5432 GB, free: 2.738 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.4592, allocations: 181.6 kB / 0.5434 GB, free: 2.555 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/0.4599, allocations: 124 kB / 0.5435 GB, free: 2.434 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4599, allocations: 42.55 kB / 0.5436 GB, free: 2.383 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.4599, allocations: 0 / 0.5436 GB, free: 2.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.0019/0.4618, allocations: 0.5913 MB / 0.5441 GB, free: 1.785 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.4619, allocations: 81.11 kB / 0.5442 GB, free: 1.688 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.462, allocations: 129.8 kB / 0.5443 GB, free: 1.551 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.462, allocations: 29.7 kB / 0.5444 GB, free: 1.516 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.4621, allocations: 116.5 kB / 0.5445 GB, free: 1.398 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.4622, allocations: 115.1 kB / 0.5446 GB, free: 1.285 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.4624, allocations: 65.66 kB / 0.5446 GB, free: 1.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4625, allocations: 330.8 kB / 0.545 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.4629, allocations: 183.9 kB / 0.5451 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/0.4633, allocations: 296.5 kB / 0.5454 GB, free: 376 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007924/0.4641, allocations: 489.2 kB / 0.5459 GB, free: 15.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4641, allocations: 8 kB / 0.5459 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009979/0.4651, allocations: 0.5166 MB / 0.5464 GB, free: 15.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4651, allocations: 4 kB / 0.5464 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4651, allocations: 4.406 kB / 0.5464 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4651, allocations: 8 kB / 0.5464 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/0.4657, allocations: 87.83 kB / 0.5465 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.4657, allocations: 8.375 kB / 0.5465 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.4661, allocations: 35.77 kB / 0.5465 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.4661, allocations: 19.94 kB / 0.5466 GB, free: 15.15 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.00018/0.4663, allocations: 145.7 kB / 0.5467 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.4664, allocations: 11.95 kB / 0.5467 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009904/0.4674, allocations: 498 kB / 0.5472 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4674, allocations: 8 kB / 0.5472 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4674, allocations: 0 / 0.5472 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.4674, allocations: 7.984 kB / 0.5472 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007502/0.4682, allocations: 436.9 kB / 0.5476 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4682, allocations: 0 / 0.5476 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.4687, allocations: 51.97 kB / 0.5477 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4687, allocations: 4 kB / 0.5477 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.4687, allocations: 11.98 kB / 0.5477 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4687, allocations: 4 kB / 0.5477 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4687, allocations: 0 / 0.5477 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.4698, allocations: 0.6916 MB / 0.5484 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.4699, allocations: 19.84 kB / 0.5484 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.4699, allocations: 11.98 kB / 0.5484 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.4704, allocations: 19.98 kB / 0.5484 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.4705, allocations: 19.95 kB / 0.5484 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.4705, allocations: 23.92 kB / 0.5485 GB, free: 13.13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.594e-05/0.4706, allocations: 99.64 kB / 0.5485 GB, free: 13.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4706, allocations: 0 / 0.5485 GB, free: 13.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006498/0.4712, allocations: 159.7 kB / 0.5487 GB, free: 12.88 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.00214/0.4734, allocations: 1.473 MB / 0.5501 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008487/0.4742, allocations: 415.5 kB / 0.5505 GB, free: 10.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4742, allocations: 0.8125 kB / 0.5505 GB, free: 10.97 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.4746, allocations: 212.5 kB / 0.5507 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.4753, allocations: 96.52 kB / 0.5508 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004737/0.4801, allocations: 3.241 MB / 0.554 GB, free: 7.254 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.4805, allocations: 0.7362 MB / 0.5547 GB, free: 6.492 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005051/0.481, allocations: 113.8 kB / 0.5548 GB, free: 6.383 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.4812, allocations: 63.41 kB / 0.5549 GB, free: 6.324 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4812, allocations: 0 / 0.5549 GB, free: 6.324 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.202/0.6832, allocations: 10.83 MB / 0.5655 GB, free: 163.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.07, allocations: 7.281 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable medium2.p in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv. Warning: Get data of variable medium2.p from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.T in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.T from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv failed! Error: Could not read variable state.p in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv. Warning: Get data of variable state.p from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.503865833998134]