Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008334/0.0008334, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008165/0.0008165, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8998/0.8998, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 34.23 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 4 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.613e-05, allocations: 5.094 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2807/0.2807, allocations: 154.6 MB / 0.5828 GB, free: 5.828 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.2855, allocations: 4.914 MB / 0.5876 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005638/0.2861, allocations: 31.75 kB / 0.5876 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007482/0.2868, allocations: 305.9 kB / 0.5879 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.2895, allocations: 1.398 MB / 0.5893 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.2914, allocations: 1.087 MB / 0.5903 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001617/0.2931, allocations: 1.879 MB / 0.5922 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000591/0.2936, allocations: 393.5 kB / 0.5925 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.2954, allocations: 1.351 MB / 0.5939 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009714/0.2964, allocations: 0.739 MB / 0.5946 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.2965, allocations: 60 kB / 0.5946 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009475/0.2975, allocations: 0.5576 MB / 0.5952 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.2977, allocations: 283.1 kB / 0.5955 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.2979, allocations: 283.4 kB / 0.5957 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.2993, allocations: 1.387 MB / 0.5971 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2993, allocations: 0 / 0.5971 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2993, allocations: 0 / 0.5971 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.2993, allocations: 0 / 0.5971 GB, free: 7.164 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001901/0.3012, allocations: 1.038 MB / 0.5981 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3012, allocations: 12.03 kB / 0.5981 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.3014, allocations: 98.5 kB / 0.5982 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005078/0.3019, allocations: 147.4 kB / 0.5983 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/0.3025, allocations: 469.4 kB / 0.5988 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.3026, allocations: 159.7 kB / 0.5989 GB, free: 5.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.69e-05/0.3027, allocations: 51.98 kB / 0.599 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.3036, allocations: 1.132 MB / 0.6001 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3036, allocations: 0 / 0.6001 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.3036, allocations: 27.98 kB / 0.6001 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.3037, allocations: 52.84 kB / 0.6002 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000808/0.3045, allocations: 0.6127 MB / 0.6008 GB, free: 3.137 MB / 0.4948 GB 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.003129/0.3076, allocations: 3.303 MB / 0.604 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.308, allocations: 333.8 kB / 0.6043 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.3082, allocations: 168.3 kB / 0.6045 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.985e-05/0.3083, allocations: 12.28 kB / 0.6045 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3084, allocations: 38.84 kB / 0.6045 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.888e-06/0.3084, allocations: 0 / 0.6045 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003475/0.3118, allocations: 1.613 MB / 0.6061 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.3119, allocations: 140.4 kB / 0.6062 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.3124, allocations: 0.6288 MB / 0.6068 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.3124, allocations: 33.7 kB / 0.6069 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3126, allocations: 367.9 kB / 0.6072 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.056e-05/0.3127, allocations: 158.7 kB / 0.6074 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.3128, allocations: 154.6 kB / 0.6075 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.313, allocations: 378.8 kB / 0.6079 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.3132, allocations: 197.9 kB / 0.6081 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/0.3136, allocations: 0.591 MB / 0.6087 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.3142, allocations: 0.7516 MB / 0.6094 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3142, allocations: 4 kB / 0.6094 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009215/0.3151, allocations: 0.8766 MB / 0.6102 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3151, allocations: 8 kB / 0.6103 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3152, allocations: 12.12 kB / 0.6103 GB, free: 8.855 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007364/0.3159, allocations: 316.6 kB / 0.6106 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.3161, allocations: 127.8 kB / 0.6107 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007272/0.3168, allocations: 0.9296 MB / 0.6116 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.3171, allocations: 31.98 kB / 0.6116 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.3172, allocations: 63.25 kB / 0.6117 GB, free: 7.379 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.3175, allocations: 257.5 kB / 0.6119 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.3175, allocations: 71.58 kB / 0.612 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.3187, allocations: 0.8641 MB / 0.6128 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3187, allocations: 4 kB / 0.6129 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3187, allocations: 1.812 kB / 0.6129 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3187, allocations: 7.984 kB / 0.6129 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.32, allocations: 1.141 MB / 0.614 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.32, allocations: 4 kB / 0.614 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.3205, allocations: 204 kB / 0.6142 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.192e-05/0.3206, allocations: 28.84 kB / 0.6142 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/0.3206, allocations: 19.98 kB / 0.6142 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.322, allocations: 2.662 MB / 0.6168 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.322, allocations: 0 / 0.6168 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000782/0.3227, allocations: 0.826 MB / 0.6176 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.3229, allocations: 115.5 kB / 0.6177 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.323, allocations: 12 kB / 0.6177 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.3232, allocations: 15.98 kB / 0.6178 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.3232, allocations: 43.83 kB / 0.6178 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.3233, allocations: 47.91 kB / 0.6179 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003584/0.3236, allocations: 443.2 kB / 0.6183 GB, free: 288 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3236, allocations: 3.938 kB / 0.6183 GB, free: 284 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006303/0.3243, allocations: 251.8 kB / 0.6185 GB, free: 32 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001587/0.3259, allocations: 1.553 MB / 0.62 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007514/0.3266, allocations: 0.5311 MB / 0.6206 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3266, allocations: 7.938 kB / 0.6206 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.3272, allocations: 407.2 kB / 0.6209 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009235/0.3281, allocations: 366 kB / 0.6213 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005988/0.3341, allocations: 6.249 MB / 0.6274 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.3343, allocations: 328.7 kB / 0.6277 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007071/0.335, allocations: 469.5 kB / 0.6282 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.3353, allocations: 284.4 kB / 0.6284 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of SimCode: time 9.61e-07/0.3353, allocations: 0 / 0.6284 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1919/0.5272, allocations: 25.69 MB / 0.6535 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.391/8.918, allocations: 6.609 kB / 0.6535 GB, free: 160.8 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.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: 10.99352690577507]