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.0006956/0.0006956, allocations: 96.27 kB / 17.3 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.0007247/0.0007247, 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.489/1.489, 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.0004617/0.0004619, allocations: 12 kB / 281.5 MB, free: 3.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 47.57 MB / 329.1 MB, free: 3.656 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.03518/0.1384, allocations: 32.51 MB / 361.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02025/0.1587, allocations: 16.41 MB / 378 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.1592, allocations: 4 kB / 378 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007562/0.16, allocations: 234.8 kB / 378.2 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008025/0.1608, allocations: 350.2 kB / 378.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2276/0.3884, allocations: 4.665 MB / 383.2 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002494/0.3909, allocations: 1.422 MB / 384.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.3911, allocations: 83.06 kB / 384.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/0.3965, allocations: 2.114 MB / 386.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.397, allocations: 302.5 kB / 387.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.3971, allocations: 19.22 kB / 387.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007264/0.4044, allocations: 3.507 MB / 390.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.4046, allocations: 82.59 kB / 390.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003937/0.405, allocations: 231.2 kB / 391 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003774/0.4087, allocations: 2.319 MB / 393.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4088, allocations: 5.031 kB / 393.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4088, allocations: 0 / 393.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.4088, allocations: 0 / 393.3 MB, free: 10.98 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.001387/0.4102, allocations: 0.7496 MB / 394 MB, free: 10.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4102, allocations: 9.812 kB / 394.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.154e-05/0.4103, allocations: 70.72 kB / 394.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006862/0.411, allocations: 85.7 kB / 394.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.4113, allocations: 305.6 kB / 394.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.4114, allocations: 22.09 kB / 394.5 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.4114, allocations: 36.8 kB / 394.6 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.4122, allocations: 449.3 kB / 395 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.4122, allocations: 6.156 kB / 395 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.4122, allocations: 16.31 kB / 395 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.4123, allocations: 9.281 kB / 395 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.4128, allocations: 312.8 kB / 395.3 MB, free: 10.05 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.002203/0.4151, allocations: 2.629 MB / 398 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.4156, allocations: 244.9 kB / 398.2 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.4157, allocations: 109.6 kB / 398.3 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03057/0.4463, allocations: 15.58 MB / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/0.4464, allocations: 39.53 kB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 2.385e-06/0.4464, allocations: 0 / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.004391/0.4508, allocations: 1.312 MB / 415.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.4509, allocations: 58.5 kB / 415.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.4512, allocations: 270.8 kB / 415.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.4512, allocations: 32.92 kB / 415.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4513, allocations: 194 kB / 415.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.4514, allocations: 110.9 kB / 415.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.4515, allocations: 39.33 kB / 415.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4516, allocations: 335.5 kB / 416.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.4518, allocations: 100.5 kB / 416.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.452, allocations: 221.1 kB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.4524, allocations: 349.9 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4525, allocations: 6.625 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006722/0.4531, allocations: 441.6 kB / 417.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4532, allocations: 11.72 kB / 417.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4532, allocations: 6.75 kB / 417.4 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003071/0.4563, allocations: 266.5 kB / 417.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.4566, allocations: 81.05 kB / 417.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.4581, allocations: 1.883 MB / 419.6 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.4583, allocations: 31.98 kB / 419.6 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.4584, allocations: 12.25 kB / 419.6 MB, free: 8.465 MB / 334.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.0001864/0.4586, allocations: 170.8 kB / 419.8 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.4586, allocations: 34.88 kB / 419.8 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.4597, allocations: 0.9517 MB / 420.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4597, allocations: 7.984 kB / 420.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.4597, allocations: 4 kB / 420.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009274/0.4606, allocations: 1.116 MB / 421.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.4623, allocations: 1.591 MB / 423.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.4623, allocations: 4 kB / 423.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.4625, allocations: 50.25 kB / 423.6 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/0.4642, allocations: 297.9 kB / 423.9 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.4642, allocations: 7.438 kB / 423.9 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000491/0.4647, allocations: 0.6671 MB / 424.5 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4648, allocations: 0 / 424.5 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.4658, allocations: 0.9458 MB / 425.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.4659, allocations: 140.2 kB / 425.6 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.466, allocations: 11.12 kB / 425.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.4662, allocations: 20.3 kB / 425.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.4662, allocations: 21.62 kB / 425.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.4663, allocations: 10.19 kB / 425.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002349/0.4665, allocations: 244.7 kB / 425.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.4665, allocations: 0 / 425.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002121/0.4686, allocations: 0.4942 MB / 426.4 MB, free: 3.504 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.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.003047/0.4717, allocations: 1.911 MB / 428.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007787/0.4725, allocations: 0.5214 MB / 428.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4725, allocations: 4 kB / 428.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.4729, allocations: 292.8 kB / 429.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4739, allocations: 188.9 kB / 429.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/0.479, allocations: 4.211 MB / 433.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4794, allocations: 0.8167 MB / 434.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003245/0.4797, allocations: 107.2 kB / 434.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.4799, allocations: 146.5 kB / 434.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4799, allocations: 0 / 434.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04406/0.524, allocations: 22.54 MB / 457.1 MB, free: 6.062 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.5242, allocations: 258.2 kB / 457.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/2.817, allocations: 0 / 457.4 MB, free: 5.797 MB / 366.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","../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