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.001307/0.001307, allocations: 107.1 kB / 17.15 MB, free: 6.309 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.001615/0.001616, allocations: 198 kB / 18.07 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.56/1.56, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001266/0.001266, allocations: 55.91 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03827/0.1413, allocations: 33.26 MB / 359.9 MB, free: 3.496 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0196/0.161, allocations: 16.67 MB / 376.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.1614, allocations: 4 kB / 376.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008374/0.1623, allocations: 234.8 kB / 376.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007069/0.163, allocations: 350.2 kB / 377.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2162/0.3792, allocations: 4.67 MB / 381.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001941/0.3812, allocations: 1.45 MB / 383.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.3814, allocations: 83.23 kB / 383.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005354/0.3868, allocations: 2.136 MB / 385.5 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004454/0.3872, allocations: 306.8 kB / 385.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.3873, allocations: 19.94 kB / 385.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01071/0.398, allocations: 6.007 MB / 391.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3982, allocations: 93.55 kB / 391.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.3986, allocations: 209.7 kB / 392.1 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006442/0.405, allocations: 3.797 MB / 395.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4051, allocations: 0 / 395.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.4051, allocations: 1.281 kB / 395.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.4051, allocations: 0 / 395.9 MB, free: 11.28 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.002127/0.4072, allocations: 0.9933 MB / 396.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4073, allocations: 7.938 kB / 396.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.4086, allocations: 148.5 kB / 397 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.4089, allocations: 312.6 kB / 397.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4089, allocations: 30.22 kB / 397.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.409, allocations: 32.09 kB / 397.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.4101, allocations: 0.522 MB / 397.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.4101, allocations: 0 / 397.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/0.4102, allocations: 15 kB / 397.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4102, allocations: 6.781 kB / 397.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.4108, allocations: 329.7 kB / 398.3 MB, free: 10.01 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.002309/0.4131, allocations: 2.554 MB / 400.8 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.4136, allocations: 272.3 kB / 401.1 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.4138, allocations: 113.7 kB / 401.2 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05956/0.4733, allocations: 30.9 MB / 432.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/0.4734, allocations: 34.38 kB / 432.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.886e-06/0.4735, allocations: 0 / 432.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.004176/0.4776, allocations: 1.194 MB / 433.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.4777, allocations: 60.8 kB / 433.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.4781, allocations: 262.8 kB / 433.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.4782, allocations: 32.52 kB / 433.7 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.4783, allocations: 185.6 kB / 433.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.622e-05/0.4784, allocations: 106.2 kB / 433.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.4785, allocations: 84.41 kB / 434 MB, free: 9.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4787, allocations: 332.7 kB / 434.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.4789, allocations: 95.7 kB / 434.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.4793, allocations: 218.8 kB / 434.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.4798, allocations: 347 kB / 435 MB, free: 8.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.4798, allocations: 4 kB / 435 MB, free: 8.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007745/0.4806, allocations: 411.1 kB / 435.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.4806, allocations: 11.44 kB / 435.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4806, allocations: 4 kB / 435.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002883/0.4809, allocations: 58.41 kB / 435.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.4814, allocations: 90.64 kB / 435.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.483, allocations: 2.43 MB / 438 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.4833, allocations: 30.64 kB / 438 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.4833, allocations: 23.69 kB / 438 MB, free: 5.254 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.0002761/0.4836, allocations: 168.9 kB / 438.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.4837, allocations: 33.33 kB / 438.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.4848, allocations: 0.8624 MB / 439.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4848, allocations: 7.984 kB / 439.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4848, allocations: 0 / 439.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00094/0.4858, allocations: 1.042 MB / 440.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.4875, allocations: 1.491 MB / 441.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4875, allocations: 0 / 441.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.4878, allocations: 53.25 kB / 441.7 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/0.4881, allocations: 67.61 kB / 441.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.4882, allocations: 16.25 kB / 441.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004863/0.4887, allocations: 0.5923 MB / 442.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4887, allocations: 2.906 kB / 442.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/0.4897, allocations: 0.8219 MB / 443.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.4898, allocations: 116.8 kB / 443.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.4899, allocations: 19.83 kB / 443.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.4903, allocations: 33.41 kB / 443.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.4903, allocations: 15.98 kB / 443.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.4903, allocations: 15.98 kB / 443.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.4906, allocations: 246 kB / 443.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4906, allocations: 0 / 443.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003362/0.494, allocations: 0.8512 MB / 444.5 MB, free: 15.72 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.006735/0.5007, allocations: 0.9791 MB / 445.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.5019, allocations: 478.3 kB / 445.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5019, allocations: 0 / 445.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.5023, allocations: 257.5 kB / 446.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.5036, allocations: 186 kB / 446.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.5054, allocations: 1.142 MB / 447.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.506, allocations: 0.825 MB / 448.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004815/0.5065, allocations: 182.7 kB / 448.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.5066, allocations: 31.44 kB / 448.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5066, allocations: 0 / 448.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of Templates: time 0.05211/0.5587, allocations: 34.48 MB / 483 MB, free: 9.32 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 -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","../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