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.001175/0.001175, allocations: 107.1 kB / 18.4 MB, free: 4.652 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.001154/0.001154, allocations: 188.5 kB / 19.34 MB, free: 3.727 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.291/1.291, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001257/0.001257, allocations: 59.91 kB / 329.3 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07643/0.07769, allocations: 46.62 MB / 375.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.1825/0.2603, allocations: 32.56 MB / 408.4 MB, free: 8.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.2775, allocations: 15.74 MB / 424.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.2779, allocations: 7.656 kB / 424.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.2786, allocations: 272 kB / 424.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006669/0.2793, allocations: 363 kB / 424.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01531/0.2946, allocations: 5.789 MB / 430.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.296, allocations: 1.01 MB / 431.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.2962, allocations: 103.3 kB / 431.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005352/0.3016, allocations: 2.211 MB / 433.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.302, allocations: 306.8 kB / 434.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.008e-05/0.3021, allocations: 40 kB / 434.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01115/0.3132, allocations: 6.068 MB / 440.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.3134, allocations: 115.6 kB / 440.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002937/0.3137, allocations: 231.2 kB / 440.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005911/0.3196, allocations: 3.792 MB / 444.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3197, allocations: 0 / 444.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.3197, allocations: 0 / 444.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3197, allocations: 3.938 kB / 444.5 MB, free: 10.91 MB / 366.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.001677/0.3214, allocations: 1.023 MB / 445.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3214, allocations: 12.03 kB / 445.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.3227, allocations: 148.6 kB / 445.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.3232, allocations: 323.8 kB / 446 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.3233, allocations: 29.91 kB / 446 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/0.3233, allocations: 36.55 kB / 446 MB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.3246, allocations: 0.5151 MB / 446.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3246, allocations: 0 / 446.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.3247, allocations: 16 kB / 446.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3247, allocations: 8 kB / 446.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.3253, allocations: 325.9 kB / 446.9 MB, free: 8.371 MB / 366.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.002732/0.3281, allocations: 2.56 MB / 449.4 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.3287, allocations: 274.7 kB / 449.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.3288, allocations: 110 kB / 449.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06077/0.3896, allocations: 31.04 MB / 480.9 MB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.3897, allocations: 34.56 kB / 480.9 MB, free: 2.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.865e-06/0.3897, allocations: 0 / 480.9 MB, free: 2.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003505/0.3932, allocations: 1.199 MB / 482.1 MB, free: 1.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3933, allocations: 55.41 kB / 482.1 MB, free: 1.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.3936, allocations: 262.6 kB / 482.4 MB, free: 0.9336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.3936, allocations: 33.7 kB / 482.4 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3937, allocations: 192.4 kB / 482.6 MB, free: 0.7031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.664e-05/0.3938, allocations: 115 kB / 482.7 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3939, allocations: 82.12 kB / 482.8 MB, free: 0.5039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3941, allocations: 330.8 kB / 483.1 MB, free: 176 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3942, allocations: 100.8 kB / 483.2 MB, free: 76 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.3945, allocations: 218.8 kB / 483.5 MB, free: 15.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.3949, allocations: 330.4 kB / 483.8 MB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.395, allocations: 11.88 kB / 483.8 MB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007091/0.3957, allocations: 418.8 kB / 484.2 MB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3957, allocations: 11.28 kB / 484.2 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3957, allocations: 4 kB / 484.2 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.396, allocations: 58.16 kB / 484.3 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.3964, allocations: 95.83 kB / 484.4 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.398, allocations: 2.521 MB / 486.9 MB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.3983, allocations: 15.94 kB / 486.9 MB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.3983, allocations: 16 kB / 486.9 MB, free: 12.08 MB / 414.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.000234/0.3986, allocations: 169.9 kB / 487.1 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/0.3987, allocations: 31.81 kB / 487.1 MB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.3998, allocations: 0.8579 MB / 488 MB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009055/0.4007, allocations: 1.044 MB / 489 MB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4008, allocations: 0 / 489 MB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.856e-05/0.4009, allocations: 124.7 kB / 489.1 MB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.4009, allocations: 8 kB / 489.1 MB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.4012, allocations: 23.97 kB / 489.2 MB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.4013, allocations: 23.92 kB / 489.2 MB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008996/0.4022, allocations: 0.5704 MB / 489.8 MB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009369/0.4031, allocations: 0.8485 MB / 490.6 MB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002392/0.4034, allocations: 213.6 kB / 490.8 MB, free: 8.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.4036, allocations: 235.1 kB / 491 MB, free: 7.797 MB / 414.1 MB Notification: Performance of Backend: time 4.81e-07/0.4036, allocations: 0 / 491 MB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005641/0.4093, allocations: 1.443 MB / 492.5 MB, free: 6.332 MB / 414.1 MB Notification: Performance of SimCode: time 0.001727/0.411, allocations: 1.334 MB / 493.8 MB, free: 4.957 MB / 414.1 MB Notification: Performance of Templates: time 0.04696/0.458, allocations: 37.28 MB / 0.5187 GB, free: 15.61 MB / 462.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","/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