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.001301/0.001308, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.001272/0.001272, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.348/1.348, allocations: 205.1 MB / 224.7 MB, free: 12.36 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.001367/0.001367, allocations: 51.92 kB / 280.8 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09618/0.09757, allocations: 46.64 MB / 327.5 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03347/0.1311, allocations: 32.49 MB / 359.9 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.149, allocations: 15.77 MB / 375.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.1495, allocations: 7.938 kB / 375.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008206/0.1503, allocations: 250.8 kB / 376 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007731/0.1511, allocations: 334.3 kB / 376.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1876/0.3387, allocations: 5.119 MB / 381.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.3402, allocations: 1.011 MB / 382.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.3405, allocations: 111.8 kB / 382.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/0.3452, allocations: 2.187 MB / 384.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.3457, allocations: 320 kB / 385 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.3458, allocations: 40.75 kB / 385.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/0.3573, allocations: 5.985 MB / 391.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002279/0.3576, allocations: 116.5 kB / 391.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005459/0.3582, allocations: 232.4 kB / 391.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005965/0.3641, allocations: 2.615 MB / 394 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.3642, allocations: 3.438 kB / 394 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3642, allocations: 0 / 394 MB, free: 11.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3642, allocations: 1.375 kB / 394 MB, free: 11.69 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.003099/0.3673, allocations: 0.9889 MB / 395 MB, free: 11.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3674, allocations: 12.44 kB / 395 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.3687, allocations: 145.8 kB / 395.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.3691, allocations: 315.9 kB / 395.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.3691, allocations: 23.16 kB / 395.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.3692, allocations: 31.47 kB / 395.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.3704, allocations: 0.5237 MB / 396 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.3705, allocations: 1.406 kB / 396 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.3705, allocations: 13.81 kB / 396.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.3705, allocations: 8.438 kB / 396.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006119/0.3711, allocations: 327.6 kB / 396.4 MB, free: 10.71 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.002437/0.3736, allocations: 2.562 MB / 399 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005213/0.3741, allocations: 277.2 kB / 399.2 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3743, allocations: 114.1 kB / 399.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05674/0.4311, allocations: 30.9 MB / 430.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/0.4312, allocations: 40.75 kB / 430.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.294e-06/0.4312, allocations: 0 / 430.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003421/0.4346, allocations: 1.195 MB / 431.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.4346, allocations: 57.84 kB / 431.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.4349, allocations: 265 kB / 431.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.435, allocations: 28.95 kB / 431.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.4351, allocations: 181.7 kB / 432 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.4352, allocations: 118.5 kB / 432.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.4353, allocations: 71.48 kB / 432.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4354, allocations: 345.7 kB / 432.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.4356, allocations: 89.41 kB / 432.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.4359, allocations: 210.5 kB / 432.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.4363, allocations: 351.4 kB / 433.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4363, allocations: 2.5 kB / 433.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006338/0.4369, allocations: 412.7 kB / 433.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.437, allocations: 8.109 kB / 433.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.437, allocations: 4 kB / 433.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.4372, allocations: 63.09 kB / 433.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.4376, allocations: 87.2 kB / 433.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.4392, allocations: 2.53 MB / 436.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.4395, allocations: 31.27 kB / 436.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.4395, allocations: 24.48 kB / 436.3 MB, free: 7.395 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.0001827/0.4397, allocations: 165.5 kB / 436.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.4398, allocations: 27.72 kB / 436.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009789/0.4408, allocations: 0.8587 MB / 437.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.4408, allocations: 11.69 kB / 437.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4408, allocations: 7.875 kB / 437.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008396/0.4417, allocations: 1.047 MB / 438.4 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.4432, allocations: 1.485 MB / 439.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4432, allocations: 3.938 kB / 439.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.4434, allocations: 58.69 kB / 440 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.4438, allocations: 63.86 kB / 440 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.4438, allocations: 15.23 kB / 440 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003495/0.4441, allocations: 0.5975 MB / 440.6 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.4442, allocations: 4.031 kB / 440.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.4451, allocations: 0.8128 MB / 441.5 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.4452, allocations: 119.9 kB / 441.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.4452, allocations: 15.22 kB / 441.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.4456, allocations: 32.31 kB / 441.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.4456, allocations: 22.69 kB / 441.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.4457, allocations: 19.98 kB / 441.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.4459, allocations: 227.1 kB / 441.9 MB, free: 3 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4459, allocations: 4 kB / 441.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003053/0.449, allocations: 0.8589 MB / 442.7 MB, free: 2.137 MB / 350.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.005282/0.4543, allocations: 0.9705 MB / 443.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.4554, allocations: 0.4927 MB / 444.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4555, allocations: 4 kB / 444.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.4558, allocations: 248.7 kB / 444.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4569, allocations: 183.3 kB / 444.6 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.4587, allocations: 1.185 MB / 445.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.4591, allocations: 0.8241 MB / 446.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.4592, allocations: 31.44 kB / 446.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4592, allocations: 0 / 446.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Templates: time 0.03305/0.4923, allocations: 22.96 MB / 469.6 MB, free: 7.363 MB / 382.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/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","../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