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.001486/0.001486, allocations: 105.5 kB / 17.73 MB, free: 5.367 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.001658/0.001658, allocations: 192 kB / 18.66 MB, free: 4.441 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.354/1.354, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001307/0.001307, allocations: 51.92 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08389/0.08521, allocations: 46.62 MB / 374.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.2037/0.2889, allocations: 32.57 MB / 407.3 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01909/0.3081, allocations: 15.74 MB / 423 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004652/0.3086, allocations: 7.719 kB / 423 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009595/0.3096, allocations: 263.4 kB / 423.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.3106, allocations: 354.5 kB / 423.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01852/0.3292, allocations: 5.783 MB / 429.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001899/0.3311, allocations: 0.9762 MB / 430.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.3314, allocations: 110.5 kB / 430.5 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005316/0.3367, allocations: 2.195 MB / 432.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000514/0.3372, allocations: 295.9 kB / 433 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.276e-05/0.3373, allocations: 38.44 kB / 433 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007852/0.3452, allocations: 3.609 MB / 436.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.3454, allocations: 103.7 kB / 436.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.3458, allocations: 223.1 kB / 436.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005027/0.3509, allocations: 2.354 MB / 439.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.3509, allocations: 0 / 439.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3509, allocations: 0 / 439.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3509, allocations: 0 / 439.3 MB, free: 15.28 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.001513/0.3525, allocations: 0.8194 MB / 440.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3525, allocations: 8.031 kB / 440.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.068e-05/0.3526, allocations: 74.66 kB / 440.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000713/0.3533, allocations: 89.28 kB / 440.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.3538, allocations: 307.6 kB / 440.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.3539, allocations: 25.03 kB / 440.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.3539, allocations: 36.36 kB / 440.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007572/0.3547, allocations: 446.1 kB / 441.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.3547, allocations: 4 kB / 441.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/0.3548, allocations: 16 kB / 441.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3548, allocations: 8 kB / 441.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005667/0.3554, allocations: 313.8 kB / 441.4 MB, free: 13.02 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.002593/0.358, allocations: 2.624 MB / 444 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.3585, allocations: 258.5 kB / 444.3 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.3587, allocations: 104.8 kB / 444.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03164/0.3903, allocations: 15.54 MB / 459.9 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.3904, allocations: 38.55 kB / 460 MB, free: 8.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.214e-06/0.3904, allocations: 0 / 460 MB, free: 8.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004292/0.3947, allocations: 1.297 MB / 461.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3948, allocations: 59.41 kB / 461.3 MB, free: 6.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.3951, allocations: 274.5 kB / 461.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.3952, allocations: 33.7 kB / 461.6 MB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3953, allocations: 188.1 kB / 461.8 MB, free: 6.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.3954, allocations: 114.4 kB / 461.9 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.3955, allocations: 82.03 kB / 462 MB, free: 6.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3956, allocations: 334.8 kB / 462.3 MB, free: 5.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.3958, allocations: 96.84 kB / 462.4 MB, free: 5.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.396, allocations: 230.8 kB / 462.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.3965, allocations: 354.3 kB / 463 MB, free: 5.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3965, allocations: 1.125 kB / 463 MB, free: 5.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007245/0.3972, allocations: 447 kB / 463.4 MB, free: 4.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3973, allocations: 4 kB / 463.4 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3973, allocations: 4 kB / 463.4 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003001/0.4003, allocations: 261.4 kB / 463.7 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.4007, allocations: 87.83 kB / 463.8 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.4024, allocations: 1.978 MB / 465.7 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.4026, allocations: 12 kB / 465.8 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.4026, allocations: 23.94 kB / 465.8 MB, free: 2.156 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.0002064/0.4028, allocations: 161.7 kB / 465.9 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.4029, allocations: 31.66 kB / 466 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.4041, allocations: 0.9474 MB / 466.9 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4041, allocations: 4 kB / 466.9 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.4041, allocations: 0 / 466.9 MB, free: 1.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/0.4052, allocations: 1.122 MB / 468 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.4073, allocations: 1.584 MB / 469.6 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4073, allocations: 0 / 469.6 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.4075, allocations: 59.91 kB / 469.7 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.4092, allocations: 276 kB / 470 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.4093, allocations: 15.98 kB / 470 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005831/0.4099, allocations: 0.6694 MB / 470.6 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4099, allocations: 3.984 kB / 470.6 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.4111, allocations: 0.9576 MB / 471.6 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.4113, allocations: 112.6 kB / 471.7 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.4113, allocations: 11.94 kB / 471.7 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.4115, allocations: 9.922 kB / 471.7 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.4116, allocations: 15.98 kB / 471.7 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.4116, allocations: 11.98 kB / 471.8 MB, free: 11.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000297/0.4119, allocations: 239.1 kB / 472 MB, free: 11.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4119, allocations: 0 / 472 MB, free: 11.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002101/0.414, allocations: 0.496 MB / 472.5 MB, free: 11.2 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.003313/0.4173, allocations: 1.907 MB / 474.4 MB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009881/0.4184, allocations: 0.524 MB / 474.9 MB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4184, allocations: 0 / 474.9 MB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.4188, allocations: 304.5 kB / 475.2 MB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4199, allocations: 202.5 kB / 475.4 MB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.4251, allocations: 3.938 MB / 479.4 MB, free: 4.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4255, allocations: 0.8206 MB / 480.2 MB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.4258, allocations: 107.2 kB / 480.3 MB, free: 3.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.4259, allocations: 147.4 kB / 480.4 MB, free: 3 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.426, allocations: 4 kB / 480.4 MB, free: 2.996 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.049/0.475, allocations: 23.46 MB / 0.4921 GB, free: 11.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.43, allocations: 4.062 kB / 0.4921 GB, free: 11.45 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