Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.001863/0.001863, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002019/0.002019, allocations: 214.7 kB / 24.47 MB, free: 3.777 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.419/1.419, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",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.001792/0.001792, allocations: 51.91 kB / 347.2 MB, free: 9.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2713, allocations: 49.15 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.06108/0.3324, allocations: 29.84 MB / 426.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03512/0.3675, allocations: 14.01 MB / 440.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.368, allocations: 11.94 kB / 440.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000939/0.3689, allocations: 242.5 kB / 440.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.37, allocations: 373.9 kB / 440.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02015/0.3901, allocations: 5.711 MB / 446.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.3918, allocations: 0.9854 MB / 447.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.3921, allocations: 77.23 kB / 447.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005432/0.3975, allocations: 2.185 MB / 449.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000596/0.3981, allocations: 298.8 kB / 450.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.772e-05/0.3982, allocations: 36 kB / 450.1 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007653/0.4059, allocations: 3.492 MB / 453.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.4061, allocations: 107.7 kB / 453.7 MB, free: 9.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003631/0.4065, allocations: 187.4 kB / 453.9 MB, free: 9.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00486/0.4113, allocations: 2.365 MB / 456.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4113, allocations: 0 / 456.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4113, allocations: 0 / 456.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.4113, allocations: 0 / 456.3 MB, free: 7.062 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002034/0.4134, allocations: 0.7614 MB / 457 MB, free: 6.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4134, allocations: 11.98 kB / 457 MB, free: 6.258 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.991e-05/0.4135, allocations: 74.7 kB / 457.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008028/0.4143, allocations: 84.66 kB / 457.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.4149, allocations: 246 kB / 457.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.4149, allocations: 29.03 kB / 457.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.415, allocations: 32.12 kB / 457.5 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.4161, allocations: 0.5904 MB / 458.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.4161, allocations: 0 / 458.1 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.4162, allocations: 12 kB / 458.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.4162, allocations: 11.94 kB / 458.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.4168, allocations: 318.2 kB / 458.4 MB, free: 4.762 MB / 366.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.002894/0.4197, allocations: 1.911 MB / 460.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.4203, allocations: 242.5 kB / 460.6 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.4205, allocations: 96.83 kB / 460.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03163/0.4521, allocations: 8.342 MB / 469 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.4522, allocations: 38.56 kB / 469 MB, free: 10.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/0.4522, allocations: 0 / 469 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004614/0.4568, allocations: 1.166 MB / 470.2 MB, free: 8.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.4568, allocations: 55.41 kB / 470.3 MB, free: 8.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.4572, allocations: 277.7 kB / 470.5 MB, free: 8.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.4572, allocations: 29.7 kB / 470.6 MB, free: 8.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4574, allocations: 192.4 kB / 470.8 MB, free: 8.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.4575, allocations: 115.1 kB / 470.9 MB, free: 8.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.4576, allocations: 82.08 kB / 470.9 MB, free: 8.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.4578, allocations: 338.8 kB / 471.3 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.458, allocations: 104.8 kB / 471.4 MB, free: 7.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.4583, allocations: 218.9 kB / 471.6 MB, free: 7.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.4589, allocations: 358.3 kB / 471.9 MB, free: 6.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4589, allocations: 4 kB / 471.9 MB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008266/0.4597, allocations: 438.7 kB / 472.4 MB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.4597, allocations: 8 kB / 472.4 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4597, allocations: 4 kB / 472.4 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003026/0.4628, allocations: 261.9 kB / 472.6 MB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.4631, allocations: 79.91 kB / 472.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.4649, allocations: 1.867 MB / 474.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.4651, allocations: 19.94 kB / 474.6 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.4652, allocations: 24.2 kB / 474.6 MB, free: 4.074 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002131/0.4654, allocations: 165.6 kB / 474.8 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.4655, allocations: 31.81 kB / 474.8 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.4667, allocations: 0.9817 MB / 475.8 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4667, allocations: 4 kB / 475.8 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.4667, allocations: 0 / 475.8 MB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001277/0.468, allocations: 1.156 MB / 477 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.4703, allocations: 1.497 MB / 478.5 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4703, allocations: 4 kB / 478.5 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.4706, allocations: 47.97 kB / 478.5 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/0.4727, allocations: 299.9 kB / 478.8 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.4727, allocations: 11.94 kB / 478.8 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007537/0.4735, allocations: 0.6734 MB / 479.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4735, allocations: 0 / 479.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.4751, allocations: 0.984 MB / 480.5 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4752, allocations: 43.67 kB / 480.5 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.301e-05/0.4753, allocations: 11.94 kB / 480.5 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.4755, allocations: 16.12 kB / 480.5 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.4755, allocations: 15.97 kB / 480.6 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.4756, allocations: 11.98 kB / 480.6 MB, free: 13.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003165/0.4759, allocations: 239.1 kB / 480.8 MB, free: 13.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4759, allocations: 0 / 480.8 MB, free: 13.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001649/0.4775, allocations: 0.4955 MB / 481.3 MB, free: 13.19 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00383/0.4814, allocations: 1.93 MB / 483.2 MB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.4824, allocations: 0.518 MB / 483.7 MB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4824, allocations: 0 / 483.7 MB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.4829, allocations: 292.9 kB / 484 MB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.484, allocations: 184.7 kB / 484.2 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006337/0.4903, allocations: 3.968 MB / 488.2 MB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.4906, allocations: 225.2 kB / 488.4 MB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003474/0.4909, allocations: 115.1 kB / 488.5 MB, free: 5.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.4912, allocations: 143.4 kB / 488.7 MB, free: 5.57 MB / 398.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4912, allocations: 0 / 488.7 MB, free: 5.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06675/0.5579, allocations: 24.36 MB / 0.501 GB, free: 13.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.2, allocations: 11.88 kB / 0.501 GB, free: 13.1 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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_WaterIF97_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_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/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.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.761465677060187]