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_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.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_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.0008953/0.0008956, allocations: 101.1 kB / 17.31 MB, free: 6.109 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.0009767/0.0009771, allocations: 178.5 kB / 18.21 MB, free: 5.41 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.554/1.554, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004315/0.0004314, allocations: 12 kB / 281.5 MB, free: 3.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 47.58 MB / 329.1 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.03077/0.135, allocations: 32.51 MB / 361.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.1528, allocations: 16.41 MB / 378 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.1533, allocations: 8 kB / 378 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007714/0.1541, allocations: 230.8 kB / 378.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007502/0.1548, allocations: 358.2 kB / 378.6 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1944/0.3492, allocations: 4.658 MB / 383.2 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.3511, allocations: 1.435 MB / 384.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.3513, allocations: 83.05 kB / 384.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004909/0.3563, allocations: 2.127 MB / 386.9 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.3568, allocations: 319.7 kB / 387.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.3568, allocations: 16.72 kB / 387.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/0.3676, allocations: 5.995 MB / 393.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.3678, allocations: 90.84 kB / 393.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003806/0.3682, allocations: 222.6 kB / 393.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006497/0.3747, allocations: 3.764 MB / 397.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3747, allocations: 0 / 397.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3747, allocations: 0 / 397.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.3747, allocations: 0 / 397.3 MB, free: 10.36 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.002371/0.3771, allocations: 0.9458 MB / 398.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3772, allocations: 9.156 kB / 398.2 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.131e-05/0.3772, allocations: 68.3 kB / 398.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.3785, allocations: 168.1 kB / 398.4 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.3788, allocations: 311.7 kB / 398.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.3788, allocations: 32.34 kB / 398.8 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.3789, allocations: 34.45 kB / 398.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.3801, allocations: 0.5791 MB / 399.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.3801, allocations: 0 / 399.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.3802, allocations: 17.5 kB / 399.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3802, allocations: 6.844 kB / 399.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.3815, allocations: 0.5395 MB / 400 MB, free: 8.949 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.002192/0.3837, allocations: 2.626 MB / 402.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.3851, allocations: 474.2 kB / 403.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.3855, allocations: 181.2 kB / 403.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005854/0.386, allocations: 0.5662 MB / 403.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3861, allocations: 40.58 kB / 403.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.724e-06/0.3861, allocations: 2.719 kB / 403.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004157/0.3902, allocations: 1.604 MB / 405.4 MB, free: 5.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.3903, allocations: 54.78 kB / 405.5 MB, free: 5.262 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.3905, allocations: 252.1 kB / 405.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.3905, allocations: 36.27 kB / 405.8 MB, free: 5.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3907, allocations: 182.5 kB / 406 MB, free: 4.957 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.3907, allocations: 112.9 kB / 406.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.3908, allocations: 49.5 kB / 406.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.3909, allocations: 336.7 kB / 406.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.3912, allocations: 149.9 kB / 406.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.3916, allocations: 248.6 kB / 406.8 MB, free: 4.367 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/0.3924, allocations: 421.3 kB / 407.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3924, allocations: 0 / 407.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001121/0.3935, allocations: 0.5273 MB / 407.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3935, allocations: 5.094 kB / 407.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3936, allocations: 8.312 kB / 407.8 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004694/0.394, allocations: 115.9 kB / 407.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.3944, allocations: 101.3 kB / 408 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.3956, allocations: 2.415 MB / 410.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.396, allocations: 57.66 kB / 410.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.396, allocations: 20.33 kB / 410.5 MB, free: 1.645 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.3962, allocations: 158.2 kB / 410.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.3963, allocations: 32.56 kB / 410.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.3979, allocations: 1.374 MB / 412 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.3979, allocations: 23.33 kB / 412.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.3979, allocations: 0 / 412.1 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001369/0.3993, allocations: 1.455 MB / 413.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/0.4016, allocations: 2.157 MB / 415.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4016, allocations: 0 / 415.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.402, allocations: 103.3 kB / 415.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003625/0.4024, allocations: 76.84 kB / 415.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.4024, allocations: 5.594 kB / 415.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003689/0.4028, allocations: 0.6029 MB / 416.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4028, allocations: 0 / 416.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.4045, allocations: 1.308 MB / 417.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.4047, allocations: 160.1 kB / 417.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.4047, allocations: 8.062 kB / 417.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.405, allocations: 52.75 kB / 418 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.4051, allocations: 40.62 kB / 418 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.4052, allocations: 11.31 kB / 418 MB, free: 14.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.4054, allocations: 232.9 kB / 418.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4054, allocations: 0 / 418.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003572/0.409, allocations: 0.8597 MB / 419.1 MB, free: 13.71 MB / 334.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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.006827/0.4158, allocations: 2.727 MB / 421.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.4172, allocations: 0.6739 MB / 422.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4172, allocations: 0 / 422.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006247/0.4179, allocations: 428.6 kB / 422.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.419, allocations: 191.6 kB / 423.1 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007911/0.4269, allocations: 4.956 MB / 428.1 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.4274, allocations: 0.8765 MB / 429 MB, free: 4.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004063/0.4278, allocations: 142.7 kB / 429.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.428, allocations: 195.4 kB / 429.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.428, allocations: 0 / 429.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06021/0.4883, allocations: 40.58 MB / 469.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.4885, allocations: 246.3 kB / 470.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.83/4.319, allocations: 11.88 kB / 470.1 MB, free: 11.04 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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/WaterIF97_ph/WaterIF97_ph.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches