Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 114.5 kB / 17.73 MB, free: 5.297 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.002079/0.002079, allocations: 187 kB / 18.67 MB, free: 4.363 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.549/1.549, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001348/0.001348, allocations: 48.27 kB / 328.6 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09624, allocations: 46.63 MB / 375.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2427/0.3389, allocations: 32.58 MB / 407.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01975/0.3587, allocations: 15.74 MB / 423.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.3592, allocations: 4.844 kB / 423.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008709/0.3601, allocations: 271.3 kB / 423.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007113/0.3608, allocations: 361.1 kB / 424.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0205/0.3813, allocations: 5.777 MB / 429.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00226/0.3836, allocations: 1.013 MB / 430.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.3839, allocations: 103.4 kB / 431 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006635/0.3905, allocations: 2.202 MB / 433.2 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.3912, allocations: 298.8 kB / 433.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.964e-05/0.3913, allocations: 40 kB / 433.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01227/0.4036, allocations: 6.072 MB / 439.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.4039, allocations: 107.7 kB / 439.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005199/0.4044, allocations: 235.1 kB / 440 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009886/0.4143, allocations: 3.796 MB / 443.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.4143, allocations: 0 / 443.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4143, allocations: 4 kB / 443.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.4144, allocations: 0 / 443.8 MB, free: 10.93 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.002295/0.4167, allocations: 1.023 MB / 444.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4167, allocations: 8.031 kB / 444.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.418, allocations: 144.6 kB / 444.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.4186, allocations: 331.8 kB / 445.3 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.4186, allocations: 25.03 kB / 445.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.4187, allocations: 32.56 kB / 445.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.4199, allocations: 0.515 MB / 445.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.4199, allocations: 0 / 445.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.42, allocations: 23.98 kB / 445.8 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.42, allocations: 8 kB / 445.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006098/0.4206, allocations: 328.6 kB / 446.2 MB, free: 8.383 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.002794/0.4234, allocations: 2.558 MB / 448.7 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.424, allocations: 270.8 kB / 449 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.4242, allocations: 122.1 kB / 449.1 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06382/0.488, allocations: 31.03 MB / 480.1 MB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.4881, allocations: 34.56 kB / 480.2 MB, free: 2.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 3.035e-06/0.4881, allocations: 4 kB / 480.2 MB, free: 2.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003689/0.4918, allocations: 1.195 MB / 481.4 MB, free: 1.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.4919, allocations: 59.34 kB / 481.4 MB, free: 1.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.4922, allocations: 266.5 kB / 481.7 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.4922, allocations: 29.7 kB / 481.7 MB, free: 0.9062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.4924, allocations: 192.5 kB / 481.9 MB, free: 0.7148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.4925, allocations: 126.9 kB / 482 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.4927, allocations: 74.12 kB / 482.1 MB, free: 0.5117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.4928, allocations: 338.8 kB / 482.4 MB, free: 176 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.493, allocations: 92.83 kB / 482.5 MB, free: 84 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.4934, allocations: 214.8 kB / 482.7 MB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.4939, allocations: 346.3 kB / 483.1 MB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4939, allocations: 2.25 kB / 483.1 MB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007636/0.4946, allocations: 422.7 kB / 483.5 MB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4947, allocations: 4 kB / 483.5 MB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4947, allocations: 4 kB / 483.5 MB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/0.495, allocations: 66.19 kB / 483.6 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.4954, allocations: 87.89 kB / 483.7 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.4974, allocations: 2.521 MB / 486.2 MB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.4977, allocations: 12 kB / 486.2 MB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.4977, allocations: 24.12 kB / 486.2 MB, free: 12.09 MB / 414.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002116/0.4979, allocations: 157.7 kB / 486.4 MB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.498, allocations: 39.8 kB / 486.4 MB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.4991, allocations: 0.8554 MB / 487.3 MB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.4991, allocations: 7.984 kB / 487.3 MB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4991, allocations: 3.938 kB / 487.3 MB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/0.5002, allocations: 1.044 MB / 488.3 MB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.5021, allocations: 1.493 MB / 489.8 MB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.5021, allocations: 3.938 kB / 489.8 MB, free: 8.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/0.5023, allocations: 55.91 kB / 489.9 MB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.5026, allocations: 72.8 kB / 489.9 MB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.5027, allocations: 4 kB / 489.9 MB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004661/0.5031, allocations: 0.5991 MB / 490.5 MB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5032, allocations: 0 / 490.5 MB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009843/0.5041, allocations: 0.8251 MB / 491.4 MB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5043, allocations: 116.8 kB / 491.5 MB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.5043, allocations: 15.94 kB / 491.5 MB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.5046, allocations: 19.98 kB / 491.5 MB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.5047, allocations: 19.97 kB / 491.5 MB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.5047, allocations: 15.98 kB / 491.6 MB, free: 6.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.505, allocations: 239 kB / 491.8 MB, free: 6.266 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.505, allocations: 0 / 491.8 MB, free: 6.266 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002544/0.5075, allocations: 0.8696 MB / 492.7 MB, free: 5.395 MB / 414.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: 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 (32): * Single equations (assignments): 29 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004183/0.5117, allocations: 0.9658 MB / 493.6 MB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.5128, allocations: 494.2 kB / 494.1 MB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5128, allocations: 0 / 494.1 MB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.5132, allocations: 261.4 kB / 494.4 MB, free: 3.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.5142, allocations: 188 kB / 494.5 MB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.5159, allocations: 0.9795 MB / 495.5 MB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.5163, allocations: 0.8172 MB / 496.3 MB, free: 1.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000386/0.5167, allocations: 187 kB / 496.5 MB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.5168, allocations: 35.44 kB / 496.6 MB, free: 1.418 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5168, allocations: 4 kB / 496.6 MB, free: 1.414 MB / 414.1 MB Notification: Performance of Templates: time 0.04891/0.5657, allocations: 34.86 MB / 0.519 GB, free: 14.5 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches