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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 113.2 kB / 17.73 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 188.2 kB / 18.67 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.1 MB / 224.5 MB, free: 12.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 51.94 kB / 328.1 MB, free: 3.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08087/0.08211, allocations: 46.62 MB / 374.7 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.2114/0.2935, allocations: 32.56 MB / 407.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01928/0.3129, allocations: 15.74 MB / 423 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/0.3133, allocations: 3.75 kB / 423 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007905/0.3141, allocations: 272.3 kB / 423.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007467/0.3149, allocations: 367.3 kB / 423.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01775/0.3327, allocations: 5.785 MB / 429.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.3339, allocations: 0.9822 MB / 430.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.3341, allocations: 107.9 kB / 430.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004993/0.3391, allocations: 2.188 MB / 432.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.3395, allocations: 300.9 kB / 433 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.3396, allocations: 41.58 kB / 433 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006562/0.3461, allocations: 3.609 MB / 436.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.3464, allocations: 103.7 kB / 436.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.3467, allocations: 223.2 kB / 436.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004028/0.3508, allocations: 2.358 MB / 439.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3508, allocations: 0 / 439.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3508, allocations: 0 / 439.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.3508, allocations: 0 / 439.3 MB, free: 15.24 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.001388/0.3522, allocations: 0.8406 MB / 440.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3523, allocations: 8.031 kB / 440.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.177e-05/0.3524, allocations: 70.72 kB / 440.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006912/0.3531, allocations: 84.66 kB / 440.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.3535, allocations: 307.8 kB / 440.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3535, allocations: 25.03 kB / 440.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-05/0.3536, allocations: 28.38 kB / 440.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.3543, allocations: 458.1 kB / 441.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3543, allocations: 8 kB / 441.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.3544, allocations: 12 kB / 441.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3544, allocations: 8 kB / 441.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.355, allocations: 321.8 kB / 441.4 MB, free: 12.95 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.002499/0.3575, allocations: 2.626 MB / 444.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.358, allocations: 250.5 kB / 444.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.3582, allocations: 109.6 kB / 444.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03233/0.3905, allocations: 15.55 MB / 460 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.3906, allocations: 34.5 kB / 460 MB, free: 8.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.315e-06/0.3906, allocations: 0 / 460 MB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.0048/0.3954, allocations: 1.307 MB / 461.3 MB, free: 6.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.3955, allocations: 59.41 kB / 461.4 MB, free: 6.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.3958, allocations: 266.6 kB / 461.6 MB, free: 6.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.3959, allocations: 33.7 kB / 461.7 MB, free: 6.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.396, allocations: 204.3 kB / 461.9 MB, free: 6.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.3961, allocations: 107 kB / 462 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3962, allocations: 86.08 kB / 462.1 MB, free: 6.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3964, allocations: 330.8 kB / 462.4 MB, free: 5.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.3965, allocations: 104.8 kB / 462.5 MB, free: 5.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.3968, allocations: 218.9 kB / 462.7 MB, free: 5.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.3973, allocations: 358.3 kB / 463 MB, free: 5.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3973, allocations: 4 kB / 463 MB, free: 5.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007593/0.3981, allocations: 443.1 kB / 463.5 MB, free: 4.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.3981, allocations: 11.97 kB / 463.5 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3982, allocations: 4 kB / 463.5 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002975/0.4011, allocations: 261.4 kB / 463.7 MB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.4015, allocations: 83.84 kB / 463.8 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.4034, allocations: 1.985 MB / 465.8 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.4037, allocations: 8 kB / 465.8 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.4038, allocations: 20 kB / 465.8 MB, free: 2.078 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.000281/0.4041, allocations: 169.6 kB / 466 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.4042, allocations: 31.75 kB / 466 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.4053, allocations: 0.94 MB / 467 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.4053, allocations: 11.98 kB / 467 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.4053, allocations: 0 / 467 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/0.4064, allocations: 1.122 MB / 468.1 MB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.4086, allocations: 1.592 MB / 469.7 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.4086, allocations: 0 / 469.7 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.4088, allocations: 51.92 kB / 469.8 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001591/0.4104, allocations: 284.8 kB / 470 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.4104, allocations: 8 kB / 470 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005437/0.411, allocations: 0.6694 MB / 470.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.411, allocations: 0 / 470.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.4122, allocations: 0.9578 MB / 471.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.4123, allocations: 120.8 kB / 471.8 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.4124, allocations: 13.08 kB / 471.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.4126, allocations: 4 kB / 471.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.4126, allocations: 15.97 kB / 471.8 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.4127, allocations: 12 kB / 471.8 MB, free: 11.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002563/0.413, allocations: 243 kB / 472.1 MB, free: 11.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.413, allocations: 0 / 472.1 MB, free: 11.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001373/0.4143, allocations: 0.4955 MB / 472.6 MB, free: 11.11 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.00334/0.4177, allocations: 1.92 MB / 474.5 MB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009375/0.4186, allocations: 0.5281 MB / 475 MB, free: 8.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4187, allocations: 0 / 475 MB, free: 8.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004285/0.4191, allocations: 292.4 kB / 475.3 MB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.4202, allocations: 203.9 kB / 475.5 MB, free: 8.133 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.4255, allocations: 3.958 MB / 479.5 MB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.426, allocations: 0.8206 MB / 480.3 MB, free: 3.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003286/0.4263, allocations: 115.1 kB / 480.4 MB, free: 3.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.4265, allocations: 139.4 kB / 480.5 MB, free: 2.883 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4265, allocations: 0 / 480.5 MB, free: 2.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05478/0.4813, allocations: 23.29 MB / 0.492 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.32, allocations: 8.062 kB / 0.492 GB, free: 11.5 MB / 430.1 MB (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.000404 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) 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) Reference file matches