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.001252/0.001252, allocations: 110.7 kB / 19.17 MB, free: 3.871 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.001374/0.001374, allocations: 203.8 kB / 22.12 MB, free: 0.9297 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.34/1.34, allocations: 207.6 MB / 232.5 MB, free: 11.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="cs",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.001671/0.001671, allocations: 59.91 kB / 343 MB, free: 12.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2477, allocations: 49.12 MB / 392.1 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1693/0.417, allocations: 151.4 MB / 0.5308 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.4196, allocations: 2.095 MB / 0.5329 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.4197, allocations: 0 / 0.5329 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.42, allocations: 55.66 kB / 0.5329 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.4216, allocations: 0.6105 MB / 0.5335 GB, free: 9.629 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.4219, allocations: 111.8 kB / 0.5336 GB, free: 9.52 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.4223, allocations: 263 kB / 0.5339 GB, free: 9.262 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.4223, allocations: 7.656 kB / 0.5339 GB, free: 9.258 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.4226, allocations: 139.4 kB / 0.534 GB, free: 9.121 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.4228, allocations: 99.62 kB / 0.5341 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.4228, allocations: 8 kB / 0.5341 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.4243, allocations: 0.8612 MB / 0.5349 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.4244, allocations: 83.75 kB / 0.535 GB, free: 8.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.4245, allocations: 95.66 kB / 0.5351 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009176/0.4254, allocations: 0.6474 MB / 0.5357 GB, free: 7.332 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4254, allocations: 0 / 0.5357 GB, free: 7.332 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.4254, allocations: 4 kB / 0.5358 GB, free: 7.328 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4254, allocations: 0 / 0.5358 GB, free: 7.328 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.0008589/0.4263, allocations: 0.5064 MB / 0.5362 GB, free: 6.773 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4263, allocations: 12.03 kB / 0.5363 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.965e-05/0.4263, allocations: 4.516 kB / 0.5363 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.95e-05/0.4264, allocations: 54.73 kB / 0.5363 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.4283, allocations: 264.5 kB / 0.5366 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.4287, allocations: 280.1 kB / 0.5368 GB, free: 6.125 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.4288, allocations: 24.25 kB / 0.5369 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.4288, allocations: 16 kB / 0.5369 GB, free: 6.086 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007905/0.4296, allocations: 0.5005 MB / 0.5374 GB, free: 5.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.4296, allocations: 0 / 0.5374 GB, free: 5.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.4297, allocations: 12 kB / 0.5374 GB, free: 5.562 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.4297, allocations: 11.98 kB / 0.5374 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008921/0.4306, allocations: 0.5816 MB / 0.538 GB, free: 4.969 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.002196/0.4328, allocations: 1.019 MB / 0.5389 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.4332, allocations: 245 kB / 0.5392 GB, free: 3.637 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.4335, allocations: 181.6 kB / 0.5394 GB, free: 3.453 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007588/0.4342, allocations: 274.1 kB / 0.5396 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.4343, allocations: 46.55 kB / 0.5397 GB, free: 3.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.4343, allocations: 0 / 0.5397 GB, free: 3.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002041/0.4363, allocations: 0.5993 MB / 0.5402 GB, free: 2.488 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.4364, allocations: 81.11 kB / 0.5403 GB, free: 2.391 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.4365, allocations: 129.8 kB / 0.5404 GB, free: 2.254 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.4365, allocations: 29.7 kB / 0.5405 GB, free: 2.219 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.4366, allocations: 124.5 kB / 0.5406 GB, free: 2.094 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.4367, allocations: 111.1 kB / 0.5407 GB, free: 1.984 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.4369, allocations: 65.66 kB / 0.5408 GB, free: 1.914 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.437, allocations: 326.8 kB / 0.5411 GB, free: 1.586 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.4373, allocations: 179.9 kB / 0.5412 GB, free: 1.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.4378, allocations: 296.5 kB / 0.5415 GB, free: 1.074 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.4386, allocations: 488.6 kB / 0.542 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4386, allocations: 3.938 kB / 0.542 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009713/0.4395, allocations: 0.5207 MB / 0.5425 GB, free: 20 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4396, allocations: 8 kB / 0.5425 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4396, allocations: 0 / 0.5425 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.4396, allocations: 12 kB / 0.5425 GB, free: 0 / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.4401, allocations: 75.89 kB / 0.5426 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.4401, allocations: 11.92 kB / 0.5426 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.4405, allocations: 39.77 kB / 0.5426 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.4406, allocations: 16.25 kB / 0.5427 GB, free: 15.86 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.0001675/0.4407, allocations: 149.7 kB / 0.5428 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.4409, allocations: 15.95 kB / 0.5428 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.4419, allocations: 0.4911 MB / 0.5433 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4419, allocations: 0 / 0.5433 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4419, allocations: 4 kB / 0.5433 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.4419, allocations: 3.984 kB / 0.5433 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007487/0.4426, allocations: 453.9 kB / 0.5437 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4426, allocations: 4 kB / 0.5437 GB, free: 14.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/0.4431, allocations: 55.91 kB / 0.5438 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4431, allocations: 8 kB / 0.5438 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.4432, allocations: 11.98 kB / 0.5438 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4432, allocations: 240 / 0.5438 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4432, allocations: 4 kB / 0.5438 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.4443, allocations: 0.6947 MB / 0.5445 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.4444, allocations: 101 kB / 0.5446 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.4444, allocations: 7.984 kB / 0.5446 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.4449, allocations: 19.98 kB / 0.5446 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.445, allocations: 19.97 kB / 0.5446 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.445, allocations: 11.98 kB / 0.5447 GB, free: 13.72 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.077e-05/0.4451, allocations: 103.3 kB / 0.5447 GB, free: 13.62 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4451, allocations: 0 / 0.5447 GB, free: 13.62 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007147/0.4458, allocations: 151.7 kB / 0.5449 GB, free: 13.47 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.002141/0.4479, allocations: 1.476 MB / 0.5463 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000827/0.4488, allocations: 419.9 kB / 0.5467 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4488, allocations: 0 / 0.5467 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.4491, allocations: 211.8 kB / 0.5469 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.4498, allocations: 89.78 kB / 0.547 GB, free: 11.26 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.4542, allocations: 3.242 MB / 0.5502 GB, free: 7.848 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.4546, allocations: 0.7324 MB / 0.5509 GB, free: 7.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.455, allocations: 117.8 kB / 0.551 GB, free: 6.977 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.4552, allocations: 59.41 kB / 0.5511 GB, free: 6.922 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4552, allocations: 0 / 0.5511 GB, free: 6.922 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1912/0.6464, allocations: 10.52 MB / 0.5613 GB, free: 163.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.484, allocations: 10.62 kB / 0.5614 GB, free: 163.8 MB / 478.1 MB " [Timeout remaining time 651] (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: 10.85536890901858]