Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",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.001336/0.001336, allocations: 100.2 kB / 17.58 MB, free: 5.418 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.00146/0.00146, allocations: 192.1 kB / 18.51 MB, free: 4.508 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.305/1.305, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.00125/0.00125, allocations: 55.92 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09117, allocations: 46.63 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03273/0.1239, allocations: 32.57 MB / 360 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01643/0.1404, allocations: 15.73 MB / 375.7 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.1408, allocations: 7.938 kB / 375.7 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007013/0.1415, allocations: 270.4 kB / 376 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006164/0.1421, allocations: 358 kB / 376.3 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1888/0.3309, allocations: 5.774 MB / 382.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.3323, allocations: 1.016 MB / 383.1 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.3325, allocations: 106.6 kB / 383.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004634/0.3372, allocations: 2.201 MB / 385.4 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.3376, allocations: 301.8 kB / 385.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/0.3376, allocations: 40.16 kB / 385.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009641/0.3473, allocations: 5.933 MB / 391.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.3475, allocations: 115.7 kB / 391.8 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.3478, allocations: 227.1 kB / 392 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005683/0.3535, allocations: 3.798 MB / 395.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3536, allocations: 1.531 kB / 395.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3536, allocations: 0 / 395.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3536, allocations: 4 kB / 395.8 MB, free: 11.18 MB / 318.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.002132/0.3557, allocations: 0.9837 MB / 396.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3558, allocations: 10.62 kB / 396.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.511e-05/0.3558, allocations: 73.17 kB / 396.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.3571, allocations: 150.1 kB / 397 MB, free: 10.51 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.3575, allocations: 325.8 kB / 397.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3575, allocations: 21.84 kB / 397.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.3575, allocations: 31.3 kB / 397.4 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.3586, allocations: 0.5207 MB / 397.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3586, allocations: 0 / 397.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.3587, allocations: 14.25 kB / 397.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3587, allocations: 7.469 kB / 397.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.3592, allocations: 331.5 kB / 398.3 MB, free: 10.14 MB / 318.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.002326/0.3616, allocations: 2.558 MB / 400.8 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/0.3621, allocations: 276.1 kB / 401.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3622, allocations: 118.9 kB / 401.2 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06011/0.4223, allocations: 30.89 MB / 432.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.4224, allocations: 35.38 kB / 432.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.024e-06/0.4224, allocations: 4 kB / 432.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003443/0.4259, allocations: 1.202 MB / 433.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.4259, allocations: 58.97 kB / 433.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.4262, allocations: 264.8 kB / 433.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.4263, allocations: 30.14 kB / 433.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.4264, allocations: 195.3 kB / 433.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.558e-05/0.4265, allocations: 111.3 kB / 434 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4266, allocations: 73.25 kB / 434.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4267, allocations: 342.6 kB / 434.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.4269, allocations: 99.58 kB / 434.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.4271, allocations: 204 kB / 434.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.4275, allocations: 349.3 kB / 435 MB, free: 8.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4276, allocations: 0 / 435 MB, free: 8.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007104/0.4283, allocations: 423.3 kB / 435.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.4283, allocations: 4 kB / 435.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.4283, allocations: 4 kB / 435.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.4286, allocations: 55.88 kB / 435.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.4289, allocations: 93.55 kB / 435.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.4306, allocations: 2.525 MB / 438.1 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.4308, allocations: 11.69 kB / 438.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.4308, allocations: 16.75 kB / 438.2 MB, free: 5.438 MB / 350.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.431, allocations: 161.7 kB / 438.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/0.4311, allocations: 34.95 kB / 438.3 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009267/0.432, allocations: 0.8656 MB / 439.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4321, allocations: 15.61 kB / 439.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.4321, allocations: 0 / 439.2 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008247/0.4329, allocations: 1.036 MB / 440.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.4345, allocations: 1.494 MB / 441.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4345, allocations: 3.5 kB / 441.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.4348, allocations: 59.72 kB / 441.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.4351, allocations: 68.7 kB / 441.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.4351, allocations: 4 kB / 441.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003714/0.4355, allocations: 0.5945 MB / 442.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4355, allocations: 0 / 442.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.4364, allocations: 0.827 MB / 443.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.4366, allocations: 108.6 kB / 443.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.4366, allocations: 18.45 kB / 443.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.437, allocations: 26.23 kB / 443.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.437, allocations: 23.91 kB / 443.5 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.4371, allocations: 19.98 kB / 443.5 MB, free: 464 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.4373, allocations: 235 kB / 443.7 MB, free: 224 kB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4373, allocations: 4 kB / 443.7 MB, free: 220 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.003987/0.4413, allocations: 0.8512 MB / 444.6 MB, free: 15.36 MB / 366.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.h) * 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 (32): * Single equations (assignments): 29 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00727/0.4486, allocations: 2.229 MB / 446.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.4496, allocations: 0.4933 MB / 447.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4497, allocations: 0 / 447.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.45, allocations: 256.6 kB / 447.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.4511, allocations: 199.6 kB / 447.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006303/0.4574, allocations: 4.006 MB / 451.8 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.4577, allocations: 0.8172 MB / 452.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003973/0.4581, allocations: 186.1 kB / 452.8 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.4583, allocations: 143.4 kB / 452.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4583, allocations: 0 / 452.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07033/0.5287, allocations: 39.57 MB / 492.5 MB, free: 15.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.59, allocations: 11.28 kB / 492.5 MB, free: 15.33 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches