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.001791/0.001791, 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.002173/0.002173, 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.305/1.305, 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.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.001733/0.001733, allocations: 51.92 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2424, allocations: 49.16 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.2027/0.4451, allocations: 174.4 MB / 0.5574 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004207/0.4493, allocations: 3.243 MB / 0.5605 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.4495, allocations: 7.938 kB / 0.5606 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.45, allocations: 182.8 kB / 0.5607 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008633/0.4509, allocations: 417.5 kB / 0.5611 GB, free: 492 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008659/0.4518, allocations: 359.2 kB / 0.5615 GB, free: 132 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.2349/0.6867, allocations: 0.9002 MB / 0.5623 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.6869, allocations: 77.98 kB / 0.5624 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.6888, allocations: 0.8066 MB / 0.5632 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.6893, allocations: 287.8 kB / 0.5635 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.6893, allocations: 32.52 kB / 0.5635 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.6896, allocations: 129 kB / 0.5636 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.6897, allocations: 97.02 kB / 0.5637 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.6899, allocations: 186.5 kB / 0.5639 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006722/0.6906, allocations: 0.5176 MB / 0.5644 GB, free: 2.293 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6906, allocations: 0.9062 kB / 0.5644 GB, free: 2.293 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6906, allocations: 1.984 kB / 0.5644 GB, free: 2.293 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.6906, allocations: 0.8438 kB / 0.5644 GB, free: 2.293 MB / 478.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.0009195/0.6915, allocations: 0.5204 MB / 0.5649 GB, free: 17.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6916, allocations: 13.16 kB / 0.5649 GB, free: 17.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.335e-05/0.6916, allocations: 60.84 kB / 0.565 GB, free: 17.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.6919, allocations: 47.98 kB / 0.565 GB, free: 17.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.6924, allocations: 225.9 kB / 0.5653 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.6924, allocations: 17.66 kB / 0.5653 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.6924, allocations: 26.05 kB / 0.5653 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004983/0.6929, allocations: 317.4 kB / 0.5656 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.6929, allocations: 1.406 kB / 0.5656 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.693, allocations: 16.12 kB / 0.5656 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.693, allocations: 7.281 kB / 0.5656 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.6934, allocations: 204.9 kB / 0.5658 GB, free: 17.64 MB / 494.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.00192/0.6953, allocations: 1.556 MB / 0.5673 GB, free: 16.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.6956, allocations: 166 kB / 0.5675 GB, free: 16.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.6957, allocations: 92.78 kB / 0.5676 GB, free: 16.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.6957, allocations: 7.359 kB / 0.5676 GB, free: 16.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.6958, allocations: 40.53 kB / 0.5676 GB, free: 16.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.6958, allocations: 1 kB / 0.5676 GB, free: 16.42 MB / 494.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.005144/0.7009, allocations: 1.319 MB / 0.5689 GB, free: 16.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.701, allocations: 57.69 kB / 0.569 GB, free: 16.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.7012, allocations: 253.6 kB / 0.5692 GB, free: 15.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.7013, allocations: 31.67 kB / 0.5692 GB, free: 15.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.7014, allocations: 176.6 kB / 0.5694 GB, free: 15.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.7014, allocations: 105.5 kB / 0.5695 GB, free: 15.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.7015, allocations: 82.89 kB / 0.5696 GB, free: 15.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.7017, allocations: 337.3 kB / 0.5699 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.7018, allocations: 90.25 kB / 0.57 GB, free: 15.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.702, allocations: 187.1 kB / 0.5702 GB, free: 15.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.7024, allocations: 311.5 kB / 0.5705 GB, free: 15.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7024, allocations: 2 kB / 0.5705 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006335/0.703, allocations: 399.8 kB / 0.5709 GB, free: 15.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.703, allocations: 7.359 kB / 0.5709 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.703, allocations: 3.719 kB / 0.5709 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.7033, allocations: 79.22 kB / 0.5709 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.7036, allocations: 82.86 kB / 0.571 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.7051, allocations: 1.851 MB / 0.5728 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.7053, allocations: 9.656 kB / 0.5728 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.7053, allocations: 41.53 kB / 0.5729 GB, free: 13.31 MB / 494.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.000181/0.7055, allocations: 156 kB / 0.573 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.7056, allocations: 31.28 kB / 0.5731 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007773/0.7064, allocations: 439.1 kB / 0.5735 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7064, allocations: 6.844 kB / 0.5735 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.7064, allocations: 2 kB / 0.5735 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005747/0.7069, allocations: 0.5646 MB / 0.574 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009949/0.7079, allocations: 0.6966 MB / 0.5747 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7079, allocations: 0 / 0.5747 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.7082, allocations: 73.33 kB / 0.5748 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.35e-05/0.7083, allocations: 27.17 kB / 0.5748 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.7083, allocations: 11.84 kB / 0.5748 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009523/0.7093, allocations: 1.281 MB / 0.5761 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7093, allocations: 1.094 kB / 0.5761 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.7099, allocations: 479.3 kB / 0.5765 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.71, allocations: 29.08 kB / 0.5766 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.067e-05/0.7101, allocations: 10.98 kB / 0.5766 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.7103, allocations: 9.547 kB / 0.5766 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.7103, allocations: 24.88 kB / 0.5766 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.7104, allocations: 33.95 kB / 0.5766 GB, free: 10.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.7106, allocations: 185.8 kB / 0.5768 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7106, allocations: 1.656 kB / 0.5768 GB, free: 10.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005809/0.7112, allocations: 127.4 kB / 0.5769 GB, free: 10.83 MB / 494.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.001255/0.7124, allocations: 1.061 MB / 0.578 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000717/0.7131, allocations: 364.8 kB / 0.5783 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7131, allocations: 1.5 kB / 0.5783 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.7134, allocations: 224.8 kB / 0.5785 GB, free: 9.895 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/0.7143, allocations: 162.1 kB / 0.5787 GB, free: 9.887 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.7184, allocations: 3.201 MB / 0.5818 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.719, allocations: 0.7645 MB / 0.5826 GB, free: 7.531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004176/0.7194, allocations: 119.2 kB / 0.5827 GB, free: 7.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/0.7196, allocations: 126.5 kB / 0.5828 GB, free: 7.504 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/0.7196, allocations: 1 kB / 0.5828 GB, free: 7.504 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/0.7638, allocations: 12.22 MB / 0.5947 GB, free: 6.242 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/14.24, allocations: 6.219 kB / 0.5947 GB, free: 6.238 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.634363418997964]