Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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.001229/0.001229, allocations: 109.8 kB / 17.78 MB, free: 5.285 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.001294/0.001294, allocations: 183.1 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.222/0.222, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4027, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04614/0.4489, allocations: 39.02 MB / 0.557 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02357/0.4725, allocations: 20.15 MB / 0.5767 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.4737, allocations: 23.81 kB / 0.5767 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.4751, allocations: 449.3 kB / 0.5772 GB, free: 244 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02021/0.4955, allocations: 5.105 MB / 0.5821 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009038/0.5045, allocations: 2.559 MB / 0.5846 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.5076, allocations: 1.997 MB / 0.5866 GB, free: 6.566 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007684/0.5084, allocations: 0.4936 MB / 0.5871 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008544/0.517, allocations: 4.172 MB / 0.5912 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.5273, allocations: 5.428 MB / 0.5965 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.5276, allocations: 76 kB / 0.5965 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01492/0.5425, allocations: 7.387 MB / 0.6037 GB, free: 4.844 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.543, allocations: 295.2 kB / 0.604 GB, free: 4.555 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006372/0.5437, allocations: 458 kB / 0.6045 GB, free: 4.105 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.5577, allocations: 5.118 MB / 0.6095 GB, free: 14.98 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.5578, allocations: 4 kB / 0.6095 GB, free: 14.97 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5578, allocations: 0 / 0.6095 GB, free: 14.97 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.14e-05/0.5579, allocations: 0 / 0.6095 GB, free: 14.97 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007656/0.5655, allocations: 1.656 MB / 0.6111 GB, free: 13.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.5656, allocations: 12.03 kB / 0.6111 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.5679, allocations: 295.7 kB / 0.6114 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.5696, allocations: 0.5949 MB / 0.612 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.5699, allocations: 109.3 kB / 0.6121 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.57, allocations: 64.12 kB / 0.6121 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.5727, allocations: 1.154 MB / 0.6132 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.5728, allocations: 11.94 kB / 0.6133 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/0.5729, allocations: 24 kB / 0.6133 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.106e-05/0.5729, allocations: 41.3 kB / 0.6133 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.5747, allocations: 0.8479 MB / 0.6141 GB, free: 9.965 MB / 478.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.006654/0.5813, allocations: 5.489 MB / 0.6195 GB, free: 4.102 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.5827, allocations: 0.5764 MB / 0.6201 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.583, allocations: 241.4 kB / 0.6203 GB, free: 3.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09644/0.6795, allocations: 46.4 MB / 0.6656 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.6796, allocations: 38.56 kB / 0.6656 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 3.787e-06/0.6796, allocations: 7.984 kB / 0.6657 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46): time 0.005019/0.6846, allocations: 1.926 MB / 0.6675 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.6847, allocations: 162.2 kB / 0.6677 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.6854, allocations: 0.6133 MB / 0.6683 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.6854, allocations: 41.64 kB / 0.6683 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.6857, allocations: 399.2 kB / 0.6687 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.6859, allocations: 169.7 kB / 0.6689 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.6861, allocations: 150.5 kB / 0.669 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6862, allocations: 382.8 kB / 0.6694 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.6866, allocations: 221.9 kB / 0.6696 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007277/0.6873, allocations: 0.5795 MB / 0.6702 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.6885, allocations: 0.8368 MB / 0.671 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.6886, allocations: 4 kB / 0.671 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001333/0.6899, allocations: 0.8668 MB / 0.6718 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6899, allocations: 12 kB / 0.6718 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.69, allocations: 12 kB / 0.6718 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.6902, allocations: 61.58 kB / 0.6719 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.6915, allocations: 287.5 kB / 0.6722 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.6934, allocations: 2.066 MB / 0.6742 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.6939, allocations: 32.12 kB / 0.6742 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.694, allocations: 51.94 kB / 0.6743 GB, free: 6.043 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003848/0.6944, allocations: 271.5 kB / 0.6745 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.6945, allocations: 75.14 kB / 0.6746 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.6971, allocations: 2.205 MB / 0.6768 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.691e-05/0.6971, allocations: 27.95 kB / 0.6768 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6972, allocations: 3.938 kB / 0.6768 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.6972, allocations: 3.984 kB / 0.6768 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/0.7009, allocations: 3.28 MB / 0.68 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.7009, allocations: 7.922 kB / 0.68 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.702, allocations: 191.8 kB / 0.6802 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003345/0.7024, allocations: 80.78 kB / 0.6803 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.7024, allocations: 12 kB / 0.6803 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.704, allocations: 2.098 MB / 0.6823 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.704, allocations: 0 / 0.6823 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.7063, allocations: 1.986 MB / 0.6843 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.7066, allocations: 247.4 kB / 0.6845 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.7067, allocations: 23.84 kB / 0.6845 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004917/0.7072, allocations: 36.12 kB / 0.6846 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.7073, allocations: 32.39 kB / 0.6846 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.7074, allocations: 19.98 kB / 0.6846 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007475/0.7081, allocations: 0.5146 MB / 0.6851 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7081, allocations: 0 / 0.6851 GB, free: 10.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003714/0.7119, allocations: 1.085 MB / 0.6862 GB, free: 9.555 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00527/0.7171, allocations: 1.219 MB / 0.6874 GB, free: 8.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002966/0.7201, allocations: 0.9357 MB / 0.6883 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.7202, allocations: 0 / 0.6883 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.7214, allocations: 0.6834 MB / 0.6889 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.7237, allocations: 377.3 kB / 0.6893 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.7272, allocations: 2.231 MB / 0.6915 GB, free: 4.098 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.728, allocations: 1.121 MB / 0.6926 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001062/0.7291, allocations: 449.3 kB / 0.693 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.7292, allocations: 67.44 kB / 0.6931 GB, free: 2.441 MB / 0.545 GB Notification: Performance of SimCode: time 7.32e-07/0.7292, allocations: 0 / 0.6931 GB, free: 2.441 MB / 0.545 GB Notification: Performance of Templates: time 0.3456/1.075, allocations: 46.01 MB / 0.738 GB, free: 194.2 MB / 0.5762 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches