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.001643/0.001643, allocations: 118 kB / 18.45 MB, free: 4.566 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.001909/0.001909, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.546/1.546, allocations: 207.6 MB / 231.8 MB, free: 4.027 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.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.001778/0.001778, allocations: 52.41 kB / 342.3 MB, free: 9.961 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1052, allocations: 49.13 MB / 391.5 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03808/0.1433, allocations: 32.78 MB / 424.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02261/0.1659, allocations: 15.78 MB / 440 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.1664, allocations: 4 kB / 440 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000988/0.1673, allocations: 278.3 kB / 440.3 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009154/0.1683, allocations: 362 kB / 440.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0154/0.1837, allocations: 5.795 MB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.1852, allocations: 0.9776 MB / 447.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002347/0.1855, allocations: 81.03 kB / 447.5 MB, free: 432 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.1903, allocations: 2.193 MB / 449.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004246/0.1907, allocations: 314.8 kB / 450 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.1908, allocations: 36 kB / 450 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00675/0.1976, allocations: 3.613 MB / 453.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.1977, allocations: 111.6 kB / 453.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.1981, allocations: 219.2 kB / 454 MB, free: 9.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004664/0.2027, allocations: 2.362 MB / 456.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.2027, allocations: 0 / 456.3 MB, free: 7.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2027, allocations: 4 kB / 456.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.2027, allocations: 0 / 456.3 MB, free: 7.547 MB / 382.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.002014/0.2048, allocations: 0.8367 MB / 457.2 MB, free: 6.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.2048, allocations: 8.031 kB / 457.2 MB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.412e-05/0.2049, allocations: 70.72 kB / 457.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008096/0.2057, allocations: 84.66 kB / 457.3 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.2062, allocations: 311.8 kB / 457.6 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.2063, allocations: 25.03 kB / 457.7 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.2063, allocations: 36.12 kB / 457.7 MB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/0.2072, allocations: 442.1 kB / 458.1 MB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.2072, allocations: 4 kB / 458.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.2072, allocations: 12 kB / 458.1 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.2072, allocations: 8 kB / 458.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.2079, allocations: 321.8 kB / 458.5 MB, free: 5.273 MB / 382.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.003238/0.2111, allocations: 2.637 MB / 461.1 MB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.2117, allocations: 238.6 kB / 461.3 MB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.2119, allocations: 100.8 kB / 461.4 MB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2384/0.4503, allocations: 15.54 MB / 477 MB, free: 62.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/0.4503, allocations: 38.08 kB / 477 MB, free: 62.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 3.327e-06/0.4503, allocations: 0 / 477 MB, free: 62.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004731/0.4551, allocations: 1.298 MB / 478.3 MB, free: 61.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.4551, allocations: 53.81 kB / 478.4 MB, free: 61.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.4554, allocations: 267.1 kB / 478.6 MB, free: 61.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.4554, allocations: 35.58 kB / 478.7 MB, free: 61.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.4555, allocations: 207 kB / 478.9 MB, free: 61.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.4556, allocations: 111.4 kB / 479 MB, free: 61.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.4557, allocations: 77.47 kB / 479 MB, free: 61.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.4557, allocations: 337.7 kB / 479.4 MB, free: 60.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.4559, allocations: 102.8 kB / 479.5 MB, free: 60.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.4561, allocations: 221.1 kB / 479.7 MB, free: 60.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.4565, allocations: 354.3 kB / 480 MB, free: 60.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4565, allocations: 4.312 kB / 480 MB, free: 60.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006776/0.4572, allocations: 438.5 kB / 480.5 MB, free: 60.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.4572, allocations: 11.16 kB / 480.5 MB, free: 60.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.4572, allocations: 2.875 kB / 480.5 MB, free: 60.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/0.4604, allocations: 266.4 kB / 480.7 MB, free: 60.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.4607, allocations: 82.97 kB / 480.8 MB, free: 59.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.4619, allocations: 1.97 MB / 482.8 MB, free: 57.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.4621, allocations: 10.78 kB / 482.8 MB, free: 57.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.4621, allocations: 29.55 kB / 482.8 MB, free: 57.96 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.0001736/0.4623, allocations: 160.1 kB / 483 MB, free: 57.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.4623, allocations: 39.94 kB / 483 MB, free: 57.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008969/0.4632, allocations: 0.938 MB / 484 MB, free: 57.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.4632, allocations: 7.953 kB / 484 MB, free: 57.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.4632, allocations: 3.906 kB / 484 MB, free: 57.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006898/0.4639, allocations: 1.127 MB / 485.1 MB, free: 56.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.4654, allocations: 1.591 MB / 486.7 MB, free: 55.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4654, allocations: 0 / 486.7 MB, free: 55.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.4655, allocations: 54.22 kB / 486.7 MB, free: 55.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/0.4671, allocations: 287.5 kB / 487 MB, free: 55.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.4671, allocations: 10.92 kB / 487 MB, free: 55.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003806/0.4675, allocations: 0.6673 MB / 487.7 MB, free: 54.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4675, allocations: 0 / 487.7 MB, free: 54.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/0.4683, allocations: 0.9581 MB / 488.7 MB, free: 53.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.4684, allocations: 117.5 kB / 488.8 MB, free: 53.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.4685, allocations: 14.06 kB / 488.8 MB, free: 53.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.4686, allocations: 8.125 kB / 488.8 MB, free: 53.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.4687, allocations: 15.98 kB / 488.8 MB, free: 53.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/0.4687, allocations: 11.98 kB / 488.8 MB, free: 53.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.4689, allocations: 243 kB / 489.1 MB, free: 53.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4689, allocations: 0 / 489.1 MB, free: 53.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001358/0.4702, allocations: 0.4968 MB / 489.6 MB, free: 52.8 MB / 382.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.002548/0.4728, allocations: 1.915 MB / 491.5 MB, free: 50.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007818/0.4736, allocations: 0.5037 MB / 492 MB, free: 50.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4736, allocations: 0 / 492 MB, free: 50.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.4739, allocations: 280.4 kB / 492.3 MB, free: 50.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4749, allocations: 199.5 kB / 492.4 MB, free: 49.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00444/0.4794, allocations: 3.968 MB / 496.4 MB, free: 45.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.4796, allocations: 0.8128 MB / 497.2 MB, free: 44.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.4799, allocations: 121 kB / 497.3 MB, free: 44.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.48, allocations: 143.4 kB / 497.5 MB, free: 44.71 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.48, allocations: 3.938 kB / 497.5 MB, free: 44.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05101/0.531, allocations: 23.34 MB / 0.5086 GB, free: 21.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.95, allocations: 12.02 kB / 0.5086 GB, free: 21.3 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.599140741003794]