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.001308/0.001308, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001114/0.001114, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.581/1.581, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001195/0.001195, allocations: 47.92 kB / 280.2 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.09579, allocations: 46.63 MB / 326.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03314/0.129, allocations: 32.5 MB / 359.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.1458, allocations: 15.78 MB / 375.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.1462, allocations: 4 kB / 375.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007723/0.147, allocations: 242.8 kB / 375.3 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007196/0.1477, allocations: 338.2 kB / 375.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1966/0.3443, allocations: 5.111 MB / 380.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.3458, allocations: 1.007 MB / 381.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.3461, allocations: 115.7 kB / 381.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004614/0.3507, allocations: 2.189 MB / 384.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005581/0.3513, allocations: 313.6 kB / 384.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.282e-05/0.3514, allocations: 42.8 kB / 384.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/0.3635, allocations: 5.993 MB / 390.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.3638, allocations: 112.6 kB / 390.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004943/0.3643, allocations: 232.7 kB / 390.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007938/0.3722, allocations: 3.809 MB / 394.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3723, allocations: 0 / 394.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3723, allocations: 4.281 kB / 394.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3723, allocations: 4 kB / 394.6 MB, free: 11.65 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.002779/0.3751, allocations: 0.9861 MB / 395.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3751, allocations: 11.36 kB / 395.6 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.3766, allocations: 151.9 kB / 395.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.3771, allocations: 319.2 kB / 396 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.3771, allocations: 20.59 kB / 396 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.3772, allocations: 31.88 kB / 396.1 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.3785, allocations: 0.5183 MB / 396.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.3785, allocations: 3.969 kB / 396.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.3786, allocations: 17.25 kB / 396.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.3786, allocations: 6.188 kB / 396.6 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006308/0.3792, allocations: 327.6 kB / 396.9 MB, free: 10.67 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.002965/0.3822, allocations: 2.555 MB / 399.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.3827, allocations: 279.7 kB / 399.8 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.3829, allocations: 107 kB / 399.9 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05728/0.4402, allocations: 30.9 MB / 430.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.4403, allocations: 37.62 kB / 430.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 3.186e-06/0.4403, allocations: 0.7031 kB / 430.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.003348/0.4436, allocations: 1.206 MB / 432 MB, free: 11.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.4437, allocations: 55.41 kB / 432.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.444, allocations: 262.5 kB / 432.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.444, allocations: 33.64 kB / 432.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.4442, allocations: 187 kB / 432.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.731e-05/0.4443, allocations: 111.5 kB / 432.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4444, allocations: 73.67 kB / 432.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4445, allocations: 340.9 kB / 433 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.4447, allocations: 96.06 kB / 433.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.4449, allocations: 213 kB / 433.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.4453, allocations: 353.4 kB / 433.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4453, allocations: 2.938 kB / 433.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006524/0.446, allocations: 411.1 kB / 434.1 MB, free: 9.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.446, allocations: 10.25 kB / 434.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.446, allocations: 4.5 kB / 434.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002775/0.4463, allocations: 61.25 kB / 434.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.4467, allocations: 91.23 kB / 434.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.4485, allocations: 2.528 MB / 436.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.4489, allocations: 31.27 kB / 436.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.4489, allocations: 23.61 kB / 436.8 MB, free: 6.602 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.0002252/0.4491, allocations: 170.3 kB / 437 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.4492, allocations: 27.72 kB / 437 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.4503, allocations: 0.856 MB / 437.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4503, allocations: 9.875 kB / 437.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4503, allocations: 3.938 kB / 437.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000911/0.4513, allocations: 1.045 MB / 438.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.4529, allocations: 1.488 MB / 440.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4529, allocations: 3.938 kB / 440.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.4531, allocations: 56.66 kB / 440.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003122/0.4534, allocations: 64.8 kB / 440.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.4535, allocations: 15.98 kB / 440.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003726/0.4538, allocations: 0.5939 MB / 441.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4538, allocations: 4.031 kB / 441.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.4549, allocations: 0.812 MB / 442 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.455, allocations: 116.8 kB / 442.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/0.4551, allocations: 19.84 kB / 442.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.4555, allocations: 29.28 kB / 442.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.4555, allocations: 23.72 kB / 442.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.4556, allocations: 19.98 kB / 442.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002529/0.4558, allocations: 231.1 kB / 442.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4558, allocations: 4 kB / 442.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003593/0.4594, allocations: 0.8589 MB / 443.3 MB, free: 0.9297 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.00431/0.4637, allocations: 0.9777 MB / 444.3 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.4652, allocations: 495.5 kB / 444.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4652, allocations: 2.188 kB / 444.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.4656, allocations: 248.2 kB / 445 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4667, allocations: 188.4 kB / 445.2 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.4685, allocations: 1.153 MB / 446.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005296/0.4691, allocations: 0.8133 MB / 447.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004234/0.4695, allocations: 190.1 kB / 447.3 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.4696, allocations: 35.42 kB / 447.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4696, allocations: 0 / 447.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Templates: time 0.05026/0.5199, allocations: 34.82 MB / 482.2 MB, free: 10.18 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