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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 110.4 kB / 17.73 MB, free: 5.336 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.001818/0.001818, allocations: 187.1 kB / 18.66 MB, free: 4.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.56/1.56, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001545/0.001545, allocations: 51.92 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 46.62 MB / 375.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.238/0.3398, allocations: 32.56 MB / 407.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01886/0.3587, allocations: 15.73 MB / 423.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005452/0.3594, allocations: 8.438 kB / 423.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.3605, allocations: 276.6 kB / 423.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008616/0.3613, allocations: 366.5 kB / 424.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01772/0.3791, allocations: 5.787 MB / 429.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.3804, allocations: 0.9769 MB / 430.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.3806, allocations: 112.7 kB / 431 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005349/0.3859, allocations: 2.19 MB / 433.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.3863, allocations: 294.8 kB / 433.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.3864, allocations: 36 kB / 433.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006662/0.3931, allocations: 3.621 MB / 437.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.3932, allocations: 103.7 kB / 437.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003278/0.3936, allocations: 219.2 kB / 437.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.3971, allocations: 2.351 MB / 439.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.3971, allocations: 0 / 439.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3971, allocations: 7.938 kB / 439.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3971, allocations: 0 / 439.8 MB, free: 14.92 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.001373/0.3985, allocations: 0.8233 MB / 440.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3985, allocations: 11.89 kB / 440.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007656/0.3993, allocations: 88.42 kB / 440.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.3998, allocations: 312.2 kB / 441 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3998, allocations: 21.03 kB / 441 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.3999, allocations: 32.56 kB / 441.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.4007, allocations: 446.1 kB / 441.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.4007, allocations: 0 / 441.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.4008, allocations: 19.98 kB / 441.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.4008, allocations: 8 kB / 441.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.4014, allocations: 320.1 kB / 441.9 MB, free: 12.73 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.00269/0.4041, allocations: 2.618 MB / 444.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.4047, allocations: 247.1 kB / 444.7 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.4049, allocations: 108.8 kB / 444.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03408/0.439, allocations: 15.54 MB / 460.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.439, allocations: 34.56 kB / 460.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.4391, allocations: 3.938 kB / 460.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.004619/0.4437, allocations: 1.308 MB / 461.7 MB, free: 6.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.4437, allocations: 55.41 kB / 461.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.444, allocations: 270.5 kB / 462 MB, free: 6.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.4441, allocations: 29.7 kB / 462.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.4442, allocations: 192.1 kB / 462.2 MB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.4443, allocations: 110.4 kB / 462.4 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4444, allocations: 74.12 kB / 462.4 MB, free: 5.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.4445, allocations: 346.8 kB / 462.8 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.4447, allocations: 107.6 kB / 462.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.445, allocations: 226.8 kB / 463.1 MB, free: 5.258 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.4454, allocations: 354.4 kB / 463.4 MB, free: 4.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4454, allocations: 0 / 463.4 MB, free: 4.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007643/0.4462, allocations: 438.6 kB / 463.9 MB, free: 4.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.4463, allocations: 11.98 kB / 463.9 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4463, allocations: 4 kB / 463.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00345/0.4497, allocations: 257.4 kB / 464.1 MB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.45, allocations: 88.2 kB / 464.2 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.4516, allocations: 1.978 MB / 466.2 MB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.4518, allocations: 8 kB / 466.2 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.4519, allocations: 19.98 kB / 466.2 MB, free: 1.887 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.000174/0.4521, allocations: 161.9 kB / 466.4 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.4521, allocations: 31.66 kB / 466.4 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.4533, allocations: 0.9446 MB / 467.4 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.4533, allocations: 11.98 kB / 467.4 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.4533, allocations: 0 / 467.4 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001103/0.4544, allocations: 1.114 MB / 468.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.4562, allocations: 1.592 MB / 470.1 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4563, allocations: 0 / 470.1 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.4565, allocations: 51.91 kB / 470.1 MB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.4582, allocations: 288 kB / 470.4 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.4582, allocations: 11.98 kB / 470.4 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005267/0.4588, allocations: 0.6693 MB / 471.1 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4588, allocations: 0 / 471.1 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.4599, allocations: 0.9498 MB / 472 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/0.46, allocations: 112.6 kB / 472.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.4601, allocations: 19.84 kB / 472.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.4603, allocations: 8 kB / 472.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.4603, allocations: 11.98 kB / 472.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.4604, allocations: 15.98 kB / 472.2 MB, free: 11.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002494/0.4606, allocations: 239.1 kB / 472.4 MB, free: 11.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4606, allocations: 7.938 kB / 472.4 MB, free: 11.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00137/0.462, allocations: 495.8 kB / 472.9 MB, free: 10.93 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.001891/0.4639, allocations: 0.5066 MB / 473.4 MB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009287/0.4649, allocations: 0.5305 MB / 474 MB, free: 9.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4649, allocations: 0 / 474 MB, free: 9.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.4653, allocations: 302.2 kB / 474.3 MB, free: 9.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4664, allocations: 198.6 kB / 474.5 MB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.4679, allocations: 0.9955 MB / 475.4 MB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.4682, allocations: 0.8321 MB / 476.3 MB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.4685, allocations: 111.1 kB / 476.4 MB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.4686, allocations: 31.44 kB / 476.4 MB, free: 7.371 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4686, allocations: 4 kB / 476.4 MB, free: 7.367 MB / 398.1 MB Notification: Performance of Templates: time 0.02695/0.4956, allocations: 18.89 MB / 495.3 MB, free: 4.438 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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/jenkins/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