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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 187 kB / 17.92 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.1 MB / 223.8 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008291/0.000829, allocations: 107.4 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007682/0.0007682, allocations: 43.94 kB / 327.2 MB, free: 312 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1935, allocations: 46.61 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02561/0.2191, allocations: 33.26 MB / 407.1 MB, free: 16.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.2315, allocations: 16.68 MB / 423.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.2318, allocations: 4 kB / 423.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.2325, allocations: 230.8 kB / 424 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006516/0.2332, allocations: 358.2 kB / 424.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01288/0.2461, allocations: 4.678 MB / 429 MB, free: 10.17 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.2474, allocations: 1.461 MB / 430.5 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.2476, allocations: 73.05 kB / 430.6 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004623/0.2523, allocations: 2.134 MB / 432.7 MB, free: 6.469 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.2528, allocations: 314.8 kB / 433 MB, free: 6.16 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.2528, allocations: 23.94 kB / 433 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009528/0.2624, allocations: 6.002 MB / 439 MB, free: 132 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.2625, allocations: 95.7 kB / 439.1 MB, free: 36 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.2628, allocations: 207.2 kB / 439.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005814/0.2686, allocations: 3.797 MB / 443.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2686, allocations: 0 / 443.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.2687, allocations: 0 / 443.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.2687, allocations: 0 / 443.1 MB, free: 12.02 MB / 330.7 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.002181/0.2709, allocations: 0.9865 MB / 444.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2709, allocations: 12.03 kB / 444.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.2722, allocations: 144.4 kB / 444.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.2726, allocations: 319.6 kB / 444.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.2726, allocations: 25.03 kB / 444.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.2727, allocations: 32.38 kB / 444.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.2738, allocations: 0.5228 MB / 445.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.2739, allocations: 0 / 445.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.2739, allocations: 12 kB / 445.2 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2739, allocations: 8 kB / 445.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.2745, allocations: 325.9 kB / 445.5 MB, free: 9.527 MB / 330.7 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.002702/0.2772, allocations: 2.557 MB / 448 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.2778, allocations: 274.8 kB / 448.3 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.2779, allocations: 108.8 kB / 448.4 MB, free: 6.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06014/0.3381, allocations: 30.9 MB / 479.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.3381, allocations: 34.56 kB / 479.4 MB, free: 3.836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.444e-06/0.3382, allocations: 0 / 479.4 MB, free: 3.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.003166/0.3413, allocations: 1.195 MB / 480.6 MB, free: 2.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3414, allocations: 59.34 kB / 480.6 MB, free: 2.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.3416, allocations: 262.5 kB / 480.9 MB, free: 2.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3417, allocations: 29.7 kB / 480.9 MB, free: 2.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3418, allocations: 196.1 kB / 481.1 MB, free: 2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.3419, allocations: 106.5 kB / 481.2 MB, free: 1.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/0.342, allocations: 78.03 kB / 481.3 MB, free: 1.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3421, allocations: 346.8 kB / 481.6 MB, free: 1.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3422, allocations: 96.83 kB / 481.7 MB, free: 1.371 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.3424, allocations: 210.9 kB / 481.9 MB, free: 1.113 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.3428, allocations: 342.8 kB / 482.2 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3428, allocations: 4 kB / 482.2 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006272/0.3435, allocations: 414.8 kB / 482.7 MB, free: 312 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3435, allocations: 10.03 kB / 482.7 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.3435, allocations: 4 kB / 482.7 MB, free: 300 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.3438, allocations: 61.62 kB / 482.7 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.3441, allocations: 91.83 kB / 482.8 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.3456, allocations: 2.427 MB / 485.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.3458, allocations: 31.84 kB / 485.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.3458, allocations: 15.98 kB / 485.3 MB, free: 13.48 MB / 378.7 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.0001658/0.346, allocations: 169.8 kB / 485.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.3461, allocations: 27.72 kB / 485.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008942/0.347, allocations: 0.8693 MB / 486.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.347, allocations: 7.984 kB / 486.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.347, allocations: 4 kB / 486.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007547/0.3478, allocations: 1.04 MB / 487.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.3492, allocations: 1.493 MB / 488.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3492, allocations: 0 / 488.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.3494, allocations: 47.92 kB / 488.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.3497, allocations: 72.78 kB / 489 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3497, allocations: 11.94 kB / 489 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002736/0.35, allocations: 0.599 MB / 489.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.35, allocations: 0 / 489.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2721/0.6221, allocations: 51.38 MB / 0.5283 GB, free: 112.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.6222, allocations: 120.3 kB / 0.5284 GB, free: 112.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.6222, allocations: 15.84 kB / 0.5285 GB, free: 112.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.6225, allocations: 36.12 kB / 0.5285 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.6226, allocations: 27.91 kB / 0.5285 GB, free: 112.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.6226, allocations: 11.98 kB / 0.5285 GB, free: 112.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001667/0.6228, allocations: 235.1 kB / 0.5288 GB, free: 112.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6228, allocations: 0 / 0.5288 GB, free: 112.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006721/0.6295, allocations: 3.064 MB / 0.5317 GB, free: 109.4 MB / 394.7 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.01339/0.6429, allocations: 2.118 MB / 0.5338 GB, free: 107.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000877/0.6438, allocations: 492.1 kB / 0.5343 GB, free: 106.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6438, allocations: 0 / 0.5343 GB, free: 106.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.6441, allocations: 237.8 kB / 0.5345 GB, free: 106.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.6451, allocations: 179.1 kB / 0.5347 GB, free: 106.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.647, allocations: 1.746 MB / 0.5364 GB, free: 104.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.6473, allocations: 0.8406 MB / 0.5372 GB, free: 103.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003554/0.6476, allocations: 198.9 kB / 0.5374 GB, free: 103.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.6477, allocations: 39.44 kB / 0.5374 GB, free: 103.6 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.6477, allocations: 0 / 0.5374 GB, free: 103.6 MB / 394.7 MB Notification: Performance of Templates: time 0.2706/0.9184, allocations: 138.5 MB / 0.6727 GB, free: 127.2 MB / 410.7 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@2/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