Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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.001325/0.001325, allocations: 111.6 kB / 18.45 MB, free: 4.59 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.002012/0.002012, allocations: 215.2 kB / 21.42 MB, free: 1.629 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.491/1.491, allocations: 207.6 MB / 231.8 MB, free: 4.043 MB / 174.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.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",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.001693/0.001693, allocations: 52.45 kB / 342.3 MB, free: 9.965 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1011, allocations: 49.13 MB / 391.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4388/0.5399, allocations: 174.2 MB / 0.5524 GB, free: 4.348 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.545, allocations: 3.233 MB / 0.5555 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.5453, allocations: 11.94 kB / 0.5555 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.546, allocations: 178.9 kB / 0.5557 GB, free: 0.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009759/0.547, allocations: 401.5 kB / 0.5561 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009206/0.5479, allocations: 347.8 kB / 0.5564 GB, free: 192 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.5491, allocations: 0.8992 MB / 0.5573 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.5493, allocations: 76.67 kB / 0.5574 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.5515, allocations: 0.8118 MB / 0.5582 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004112/0.5519, allocations: 282.9 kB / 0.5584 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.468e-05/0.5519, allocations: 32 kB / 0.5585 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.5523, allocations: 123.9 kB / 0.5586 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.5524, allocations: 107.6 kB / 0.5587 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.5527, allocations: 183.3 kB / 0.5589 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006974/0.5534, allocations: 0.5178 MB / 0.5594 GB, free: 13.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5534, allocations: 0 / 0.5594 GB, free: 13.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5534, allocations: 4 kB / 0.5594 GB, free: 13.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.5534, allocations: 0 / 0.5594 GB, free: 13.16 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009642/0.5543, allocations: 0.6037 MB / 0.56 GB, free: 12.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5544, allocations: 8.031 kB / 0.56 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.841e-05/0.5545, allocations: 62.53 kB / 0.56 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.5548, allocations: 44.67 kB / 0.5601 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006509/0.5554, allocations: 294.6 kB / 0.5603 GB, free: 12.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.5554, allocations: 16.56 kB / 0.5604 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.5555, allocations: 24 kB / 0.5604 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.556, allocations: 319.7 kB / 0.5607 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.5561, allocations: 11.81 kB / 0.5607 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.5561, allocations: 12 kB / 0.5607 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.5561, allocations: 8 kB / 0.5607 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.5565, allocations: 209.5 kB / 0.5609 GB, free: 11.44 MB / 446.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.002288/0.5588, allocations: 1.592 MB / 0.5625 GB, free: 9.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.5591, allocations: 167.1 kB / 0.5626 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.5593, allocations: 88.77 kB / 0.5627 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.5593, allocations: 4 kB / 0.5627 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.5593, allocations: 34.56 kB / 0.5628 GB, free: 9.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.5593, allocations: 0 / 0.5628 GB, free: 9.395 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.006164/0.5655, allocations: 1.627 MB / 0.5643 GB, free: 7.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.5656, allocations: 55.41 kB / 0.5644 GB, free: 7.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.5659, allocations: 252.9 kB / 0.5646 GB, free: 7.316 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.5659, allocations: 33.7 kB / 0.5647 GB, free: 7.277 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.5661, allocations: 180.5 kB / 0.5648 GB, free: 7.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5662, allocations: 99.17 kB / 0.5649 GB, free: 7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.5663, allocations: 81.64 kB / 0.565 GB, free: 6.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.5666, allocations: 334.8 kB / 0.5653 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.5667, allocations: 91.95 kB / 0.5654 GB, free: 6.488 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.567, allocations: 191.8 kB / 0.5656 GB, free: 6.258 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.5675, allocations: 304.2 kB / 0.5659 GB, free: 5.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.5675, allocations: 6.812 kB / 0.5659 GB, free: 5.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007429/0.5682, allocations: 399.2 kB / 0.5663 GB, free: 5.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5682, allocations: 12.03 kB / 0.5663 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5683, allocations: 0 / 0.5663 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.5685, allocations: 73.67 kB / 0.5664 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.5689, allocations: 87.83 kB / 0.5665 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.5706, allocations: 1.951 MB / 0.5684 GB, free: 3.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.5709, allocations: 12.19 kB / 0.5684 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.939e-05/0.5709, allocations: 47.92 kB / 0.5684 GB, free: 3.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002289/0.5712, allocations: 157.6 kB / 0.5686 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.5712, allocations: 31.81 kB / 0.5686 GB, free: 2.965 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009349/0.5722, allocations: 429.8 kB / 0.569 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5722, allocations: 7.984 kB / 0.569 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5722, allocations: 3.984 kB / 0.569 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006348/0.5728, allocations: 0.5591 MB / 0.5696 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.574, allocations: 0.7353 MB / 0.5703 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.574, allocations: 4 kB / 0.5703 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.5743, allocations: 63.95 kB / 0.5703 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.084e-05/0.5744, allocations: 28.72 kB / 0.5704 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.5744, allocations: 12 kB / 0.5704 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.5755, allocations: 1.379 MB / 0.5717 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.559e-05/0.5755, allocations: 11.95 kB / 0.5717 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.5763, allocations: 467.3 kB / 0.5722 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/0.5763, allocations: 100.9 kB / 0.5723 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.5764, allocations: 11.98 kB / 0.5723 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.5766, allocations: 12.12 kB / 0.5723 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.5767, allocations: 27.91 kB / 0.5723 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.5767, allocations: 27.98 kB / 0.5724 GB, free: 14.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000228/0.577, allocations: 194 kB / 0.5725 GB, free: 14.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.577, allocations: 0 / 0.5725 GB, free: 14.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005903/0.5776, allocations: 123.9 kB / 0.5727 GB, free: 14.44 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/0.5789, allocations: 1.055 MB / 0.5737 GB, free: 13.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007203/0.5796, allocations: 362.4 kB / 0.574 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.5796, allocations: 0.8125 kB / 0.574 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.58, allocations: 230.6 kB / 0.5743 GB, free: 12.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.581, allocations: 168.2 kB / 0.5744 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.5853, allocations: 3.195 MB / 0.5775 GB, free: 9.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.5857, allocations: 0.7722 MB / 0.5783 GB, free: 8.402 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004053/0.5861, allocations: 118.9 kB / 0.5784 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.5864, allocations: 127.4 kB / 0.5785 GB, free: 8.164 MB / 462.1 MB Notification: Performance of SimCode: time 6.02e-07/0.5864, allocations: 0 / 0.5785 GB, free: 8.164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04699/0.6334, allocations: 11.97 MB / 0.5902 GB, free: 12.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.97, allocations: 0 / 0.5902 GB, free: 12.12 MB / 478.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.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: 15.601499207012239]