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.00139/0.00139, allocations: 109.2 kB / 17.73 MB, free: 5.301 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.001435/0.001435, allocations: 188.2 kB / 18.66 MB, free: 4.375 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.417/1.417, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.00117/0.00117, allocations: 55.92 kB / 328.6 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08718, allocations: 46.61 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2288/0.3161, allocations: 32.56 MB / 407.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01941/0.3355, allocations: 15.74 MB / 423.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004504/0.3361, allocations: 12.38 kB / 423.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009471/0.337, allocations: 268.3 kB / 423.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007738/0.3378, allocations: 366.2 kB / 424.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01861/0.3564, allocations: 5.788 MB / 429.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.358, allocations: 1.01 MB / 430.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.3583, allocations: 103.8 kB / 431 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004969/0.3633, allocations: 2.218 MB / 433.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.3637, allocations: 298.8 kB / 433.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.3638, allocations: 40 kB / 433.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0115/0.3753, allocations: 6.072 MB / 439.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.3755, allocations: 115.6 kB / 439.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000393/0.3759, allocations: 231.2 kB / 440 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00869/0.3846, allocations: 3.785 MB / 443.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3847, allocations: 4 kB / 443.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3847, allocations: 0 / 443.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3847, allocations: 0 / 443.8 MB, free: 11.07 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.001958/0.3866, allocations: 0.991 MB / 444.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3867, allocations: 12.03 kB / 444.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.388, allocations: 152.3 kB / 444.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.3884, allocations: 327.6 kB / 445.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3885, allocations: 29.89 kB / 445.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.3885, allocations: 32.56 kB / 445.3 MB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.3897, allocations: 0.5112 MB / 445.8 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3897, allocations: 7.984 kB / 445.8 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.3898, allocations: 16 kB / 445.8 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.3898, allocations: 8 kB / 445.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.3904, allocations: 325.8 kB / 446.2 MB, free: 8.551 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.002655/0.3931, allocations: 2.548 MB / 448.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.3936, allocations: 270.7 kB / 449 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.3938, allocations: 117.3 kB / 449.1 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06253/0.4563, allocations: 31.03 MB / 480.1 MB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.4564, allocations: 38.56 kB / 480.2 MB, free: 2.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.445e-06/0.4564, allocations: 0 / 480.2 MB, free: 2.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003325/0.4598, allocations: 1.202 MB / 481.4 MB, free: 1.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.4598, allocations: 55.41 kB / 481.4 MB, free: 1.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.4601, allocations: 254.6 kB / 481.7 MB, free: 1.129 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.4601, allocations: 37.64 kB / 481.7 MB, free: 1.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.4602, allocations: 188.1 kB / 481.9 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.4603, allocations: 114.4 kB / 482 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-05/0.4604, allocations: 74.05 kB / 482.1 MB, free: 0.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.4606, allocations: 342.8 kB / 482.4 MB, free: 372 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.4607, allocations: 92.84 kB / 482.5 MB, free: 280 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4609, allocations: 218.9 kB / 482.7 MB, free: 4 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.4614, allocations: 338.3 kB / 483 MB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4614, allocations: 0 / 483 MB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006707/0.4621, allocations: 414.7 kB / 483.5 MB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4621, allocations: 8 kB / 483.5 MB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.4621, allocations: 4 kB / 483.5 MB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.4624, allocations: 62.09 kB / 483.5 MB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.4627, allocations: 95.7 kB / 483.6 MB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.4644, allocations: 2.521 MB / 486.1 MB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.4646, allocations: 8 kB / 486.1 MB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.4646, allocations: 23.98 kB / 486.2 MB, free: 12.29 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.0002008/0.4648, allocations: 169.8 kB / 486.3 MB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/0.4649, allocations: 31.62 kB / 486.4 MB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.4659, allocations: 0.8538 MB / 487.2 MB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.466, allocations: 11.98 kB / 487.2 MB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.466, allocations: 7.938 kB / 487.2 MB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008649/0.4668, allocations: 1.036 MB / 488.3 MB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.4684, allocations: 1.493 MB / 489.8 MB, free: 8.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/0.4684, allocations: 7.922 kB / 489.8 MB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.4686, allocations: 51.98 kB / 489.8 MB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/0.4689, allocations: 76.62 kB / 489.9 MB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.469, allocations: 8 kB / 489.9 MB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000415/0.4694, allocations: 0.5875 MB / 490.5 MB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4694, allocations: 0 / 490.5 MB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.4703, allocations: 0.8286 MB / 491.3 MB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.4704, allocations: 104.7 kB / 491.4 MB, free: 6.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.4704, allocations: 16.06 kB / 491.4 MB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.4707, allocations: 29.91 kB / 491.5 MB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.4708, allocations: 19.97 kB / 491.5 MB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.4708, allocations: 15.94 kB / 491.5 MB, free: 6.703 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.4711, allocations: 239 kB / 491.7 MB, free: 6.465 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4711, allocations: 0 / 491.7 MB, free: 6.465 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002341/0.4734, allocations: 0.855 MB / 492.6 MB, free: 5.609 MB / 414.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.00317/0.4766, allocations: 0.9655 MB / 493.6 MB, free: 4.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008704/0.4775, allocations: 491.1 kB / 494 MB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.4775, allocations: 4 kB / 494 MB, free: 4.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003433/0.4778, allocations: 241.5 kB / 494.3 MB, free: 3.902 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.4789, allocations: 195.9 kB / 494.5 MB, free: 3.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.4805, allocations: 0.9728 MB / 495.4 MB, free: 2.711 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.4809, allocations: 0.8172 MB / 496.3 MB, free: 1.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003729/0.4813, allocations: 183 kB / 496.4 MB, free: 1.695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.4813, allocations: 31.44 kB / 496.5 MB, free: 1.664 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4813, allocations: 0 / 496.5 MB, free: 1.664 MB / 414.1 MB Notification: Performance of Templates: time 0.04586/0.5272, allocations: 34.86 MB / 0.5189 GB, free: 14.74 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/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","/var/lib/jenkins/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