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.001076/0.001076, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001017/0.001017, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.325/1.325, allocations: 205.1 MB / 225.1 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.001167/0.001167, allocations: 51.92 kB / 282.1 MB, free: 2.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08121/0.08239, allocations: 46.63 MB / 328.7 MB, free: 3.727 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02979/0.1122, allocations: 32.57 MB / 361.3 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.1286, allocations: 15.74 MB / 377 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003022/0.129, allocations: 4 kB / 377 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008177/0.1298, allocations: 266.4 kB / 377.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007359/0.1306, allocations: 357.9 kB / 377.7 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.173/0.3036, allocations: 5.787 MB / 383.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.305, allocations: 1.004 MB / 384.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.3052, allocations: 106.7 kB / 384.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005631/0.3108, allocations: 2.198 MB / 386.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004364/0.3113, allocations: 301.7 kB / 387 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.434e-05/0.3114, allocations: 41.28 kB / 387.1 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.3229, allocations: 6.072 MB / 393.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002009/0.3231, allocations: 112.3 kB / 393.3 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005188/0.3237, allocations: 233.1 kB / 393.5 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008193/0.3319, allocations: 3.789 MB / 397.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3319, allocations: 0 / 397.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3319, allocations: 0 / 397.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3319, allocations: 0 / 397.3 MB, free: 11.44 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.002476/0.3344, allocations: 0.9958 MB / 398.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3345, allocations: 18.95 kB / 398.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.3357, allocations: 138.7 kB / 398.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.3362, allocations: 328.7 kB / 398.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3362, allocations: 33.36 kB / 398.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.3362, allocations: 31.56 kB / 398.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.3373, allocations: 0.5146 MB / 399.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3374, allocations: 8.531 kB / 399.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.3374, allocations: 11.28 kB / 399.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.3374, allocations: 9.5 kB / 399.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.338, allocations: 327.9 kB / 399.7 MB, free: 10.16 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.002267/0.3403, allocations: 2.541 MB / 402.2 MB, free: 7.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.3408, allocations: 278.2 kB / 402.5 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.341, allocations: 113.1 kB / 402.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05817/0.3992, allocations: 31.03 MB / 433.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.3993, allocations: 37.62 kB / 433.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.194e-06/0.3993, allocations: 4 kB / 433.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003334/0.4026, allocations: 1.196 MB / 434.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.4027, allocations: 55.41 kB / 434.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.403, allocations: 263.2 kB / 435.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.403, allocations: 32.7 kB / 435.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4031, allocations: 190.7 kB / 435.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.4032, allocations: 111.4 kB / 435.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.4033, allocations: 78.41 kB / 435.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4034, allocations: 338.7 kB / 435.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.4036, allocations: 97.27 kB / 436 MB, free: 8.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.4038, allocations: 208 kB / 436.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.4042, allocations: 349.1 kB / 436.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4043, allocations: 0 / 436.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006571/0.4049, allocations: 418.2 kB / 437 MB, free: 7.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4049, allocations: 8 kB / 437 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.405, allocations: 4 kB / 437 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.4052, allocations: 66.06 kB / 437 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.4056, allocations: 90.58 kB / 437.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.4073, allocations: 2.524 MB / 439.6 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.4075, allocations: 8.062 kB / 439.7 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.4075, allocations: 20.38 kB / 439.7 MB, free: 4.945 MB / 350.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.0001765/0.4077, allocations: 163.1 kB / 439.8 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.4078, allocations: 27.72 kB / 439.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009508/0.4088, allocations: 0.8627 MB / 440.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.4088, allocations: 7.984 kB / 440.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4088, allocations: 7.938 kB / 440.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008729/0.4097, allocations: 1.049 MB / 441.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.4112, allocations: 1.48 MB / 443.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4113, allocations: 3.938 kB / 443.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.4115, allocations: 60.91 kB / 443.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003026/0.4118, allocations: 72.7 kB / 443.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.4118, allocations: 4 kB / 443.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003192/0.4122, allocations: 0.591 MB / 444 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4122, allocations: 0 / 444 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/0.4131, allocations: 0.8261 MB / 444.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.4132, allocations: 112.7 kB / 444.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.4133, allocations: 11.94 kB / 444.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.4136, allocations: 23.97 kB / 445 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.4136, allocations: 28.98 kB / 445 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.4137, allocations: 15.98 kB / 445 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.4139, allocations: 231.1 kB / 445.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4139, allocations: 0 / 445.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003267/0.4172, allocations: 0.8589 MB / 446.1 MB, free: 14.71 MB / 366.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.003518/0.4207, allocations: 0.9635 MB / 447.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008628/0.4216, allocations: 492.1 kB / 447.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.4216, allocations: 4 kB / 447.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.422, allocations: 250.2 kB / 447.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/0.4229, allocations: 185.5 kB / 448 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.4244, allocations: 0.971 MB / 448.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4248, allocations: 0.8289 MB / 449.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000339/0.4251, allocations: 182.3 kB / 450 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.4252, allocations: 35.42 kB / 450 MB, free: 10.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4252, allocations: 4 kB / 450 MB, free: 10.89 MB / 366.1 MB Notification: Performance of Templates: time 0.04571/0.4709, allocations: 34.76 MB / 484.7 MB, free: 8.172 MB / 398.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 -s gbode -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/jenkins1/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/jenkins1/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