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.001284/0.001284, allocations: 113 kB / 17.73 MB, free: 5.207 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.001515/0.001515, allocations: 188.2 kB / 18.67 MB, free: 4.277 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.456/1.456, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001626/0.001626, allocations: 55.92 kB / 328.1 MB, free: 3.75 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.09793, allocations: 46.61 MB / 374.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.2043/0.3023, allocations: 32.57 MB / 407.3 MB, free: 8.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.3213, allocations: 15.73 MB / 423 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.3218, allocations: 4.125 kB / 423 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008672/0.3227, allocations: 270.8 kB / 423.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007875/0.3235, allocations: 358 kB / 423.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01658/0.3401, allocations: 5.796 MB / 429.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.3415, allocations: 0.9744 MB / 430.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.3417, allocations: 103.3 kB / 430.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005345/0.3471, allocations: 2.179 MB / 432.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.3476, allocations: 305.1 kB / 433 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.338e-05/0.3477, allocations: 39.94 kB / 433 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007722/0.3554, allocations: 3.613 MB / 436.6 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.3556, allocations: 99.7 kB / 436.7 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.356, allocations: 219.2 kB / 436.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.3601, allocations: 2.358 MB / 439.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3601, allocations: 0 / 439.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3601, allocations: 4 kB / 439.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3601, 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.001523/0.3616, allocations: 0.8367 MB / 440.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3617, allocations: 8.031 kB / 440.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.795e-05/0.3618, allocations: 70.72 kB / 440.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006957/0.3625, allocations: 88.66 kB / 440.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.3629, allocations: 315.8 kB / 440.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.363, allocations: 21.03 kB / 440.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.363, allocations: 32.38 kB / 440.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.3639, allocations: 454.1 kB / 441.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3639, allocations: 0 / 441.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.3639, allocations: 16 kB / 441.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3639, allocations: 8 kB / 441.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006313/0.3646, allocations: 317.8 kB / 441.4 MB, free: 12.96 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.002942/0.3675, allocations: 2.627 MB / 444 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.3681, allocations: 250.5 kB / 444.3 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.3683, allocations: 116.8 kB / 444.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03375/0.4021, allocations: 15.54 MB / 459.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.4021, allocations: 45.31 kB / 460 MB, free: 8.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.4021, allocations: 4 kB / 460 MB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004409/0.4065, allocations: 1.304 MB / 461.3 MB, free: 6.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.4066, allocations: 55.41 kB / 461.3 MB, free: 6.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.4069, allocations: 266.6 kB / 461.6 MB, free: 6.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.4069, allocations: 29.7 kB / 461.6 MB, free: 6.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.4071, allocations: 204.3 kB / 461.8 MB, free: 6.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.357e-05/0.4072, allocations: 111.1 kB / 461.9 MB, free: 6.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.4073, allocations: 82.08 kB / 462 MB, free: 6.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4075, allocations: 338.8 kB / 462.4 MB, free: 5.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.4077, allocations: 100.8 kB / 462.5 MB, free: 5.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.408, allocations: 218.9 kB / 462.7 MB, free: 5.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.4085, allocations: 358.3 kB / 463 MB, free: 5.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4085, allocations: 7.938 kB / 463 MB, free: 5.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007805/0.4093, allocations: 442.6 kB / 463.5 MB, free: 4.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4093, allocations: 8 kB / 463.5 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4093, allocations: 5.188 kB / 463.5 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/0.4124, allocations: 261.9 kB / 463.7 MB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.4127, allocations: 83.84 kB / 463.8 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/0.4145, allocations: 1.975 MB / 465.8 MB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.4147, allocations: 16 kB / 465.8 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.4147, allocations: 16 kB / 465.8 MB, free: 2.086 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.0002203/0.415, allocations: 169.7 kB / 466 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.4151, allocations: 35.75 kB / 466 MB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.4163, allocations: 0.9399 MB / 467 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.4163, allocations: 11.98 kB / 467 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.4164, allocations: 0.875 kB / 467 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/0.4175, allocations: 1.118 MB / 468.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.4196, allocations: 1.596 MB / 469.7 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4196, allocations: 0 / 469.7 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.4198, allocations: 51.92 kB / 469.7 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.4214, allocations: 292.6 kB / 470 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.4215, allocations: 4 kB / 470 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006174/0.4221, allocations: 0.6734 MB / 470.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4221, allocations: 0 / 470.7 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.4234, allocations: 0.9544 MB / 471.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.4235, allocations: 112.8 kB / 471.8 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.4236, allocations: 11.95 kB / 471.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.4238, allocations: 8 kB / 471.8 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.4238, allocations: 19.97 kB / 471.8 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.4239, allocations: 20.12 kB / 471.8 MB, free: 11.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002809/0.4241, allocations: 239 kB / 472.1 MB, free: 11.6 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4242, allocations: 0 / 472.1 MB, free: 11.6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001492/0.4257, allocations: 0.4916 MB / 472.5 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.003378/0.429, allocations: 1.915 MB / 474.5 MB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.4301, allocations: 0.5242 MB / 475 MB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.4301, allocations: 0 / 475 MB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.4306, allocations: 300.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.001149/0.4317, allocations: 192.6 kB / 475.5 MB, free: 8.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/0.4378, allocations: 3.969 MB / 479.4 MB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.4383, allocations: 0.8167 MB / 480.3 MB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003437/0.4386, allocations: 115.1 kB / 480.4 MB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.4388, allocations: 143.4 kB / 480.5 MB, free: 2.883 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4389, allocations: 0 / 480.5 MB, free: 2.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/0.4957, allocations: 23.29 MB / 0.492 GB, free: 11.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.77, allocations: 3.906 kB / 0.492 GB, free: 11.51 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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