Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 179.4 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 242.1 MB, free: 11.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007776/0.0007776, allocations: 99.97 kB / 293.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3137/0.3137, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 16 kB / 461.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3467, allocations: 61.88 MB / 0.5107 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.008/6.355, allocations: 2.801 GB / 3.312 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/6.355, allocations: 99.92 kB / 3.312 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.907/8.262, allocations: 485.1 MB / 3.785 GB, free: 51.81 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.084e-06/8.262, allocations: 0 / 3.785 GB, free: 51.81 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001018/8.262, allocations: 17 kB / 3.785 GB, free: 51.81 MB / 0.5261 GB 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.008927/8.271, allocations: 1.831 MB / 3.787 GB, free: 51.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/8.271, allocations: 15.06 kB / 3.787 GB, free: 51.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003717/8.275, allocations: 324.2 kB / 3.788 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/8.277, allocations: 0.6166 MB / 3.788 GB, free: 50.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/8.277, allocations: 117.5 kB / 3.788 GB, free: 50.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/8.277, allocations: 59.81 kB / 3.788 GB, free: 50.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/8.281, allocations: 1.215 MB / 3.79 GB, free: 50.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.49e-05/8.281, allocations: 10.75 kB / 3.79 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/8.282, allocations: 24.81 kB / 3.79 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.246e-05/8.282, allocations: 44.83 kB / 3.79 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004053/8.286, allocations: 1.056 MB / 3.791 GB, free: 50.5 MB / 0.5261 GB 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.006945/8.293, allocations: 5.617 MB / 3.796 GB, free: 46.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/8.295, allocations: 0.8039 MB / 3.797 GB, free: 46.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/8.295, allocations: 298.5 kB / 3.797 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02796/8.323, allocations: 15.72 MB / 3.813 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/8.324, allocations: 40.75 kB / 3.813 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.176e-06/8.324, allocations: 2.656 kB / 3.813 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.007416/8.331, allocations: 2.366 MB / 3.815 GB, free: 36.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/8.331, allocations: 160.6 kB / 3.815 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008575/8.332, allocations: 0.6089 MB / 3.816 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/8.332, allocations: 37.11 kB / 3.816 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/8.332, allocations: 389.6 kB / 3.816 GB, free: 36.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/8.332, allocations: 176.9 kB / 3.816 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/8.332, allocations: 18.72 kB / 3.816 GB, free: 36.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001329/8.333, allocations: 374.2 kB / 3.817 GB, free: 35.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005809/8.333, allocations: 293.6 kB / 3.817 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/8.334, allocations: 0.6179 MB / 3.818 GB, free: 35.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/8.335, allocations: 0.9137 MB / 3.818 GB, free: 34.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/8.335, allocations: 3.219 kB / 3.818 GB, free: 34.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001706/8.337, allocations: 0.9826 MB / 3.819 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/8.337, allocations: 12.94 kB / 3.819 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/8.337, allocations: 11.66 kB / 3.819 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/8.337, allocations: 69.52 kB / 3.819 GB, free: 34.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/8.338, allocations: 308.2 kB / 3.82 GB, free: 34.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/8.339, allocations: 1.979 MB / 3.822 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/8.34, allocations: 86.11 kB / 3.822 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/8.34, allocations: 39.88 kB / 3.822 GB, free: 33.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004654/8.341, allocations: 274.9 kB / 3.822 GB, free: 32.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/8.341, allocations: 70.34 kB / 3.822 GB, free: 32.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/8.345, allocations: 2.607 MB / 3.825 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-05/8.345, allocations: 36.39 kB / 3.825 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/8.345, allocations: 1.062 kB / 3.825 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/8.345, allocations: 8.172 kB / 3.825 GB, free: 32.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/8.351, allocations: 3.791 MB / 3.828 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/8.351, allocations: 0.75 kB / 3.828 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/8.352, allocations: 241.3 kB / 3.829 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003975/8.352, allocations: 98.48 kB / 3.829 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/8.352, allocations: 15.75 kB / 3.829 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/8.354, allocations: 1.993 MB / 3.831 GB, free: 30.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/8.354, allocations: 7.75 kB / 3.831 GB, free: 30.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004531/8.358, allocations: 2.37 MB / 3.833 GB, free: 29.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009723/8.359, allocations: 331.4 kB / 3.833 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/8.359, allocations: 12.19 kB / 3.833 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/8.36, allocations: 61.41 kB / 3.833 GB, free: 29.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/8.36, allocations: 52.91 kB / 3.833 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/8.36, allocations: 20.67 kB / 3.833 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001225/8.362, allocations: 0.5594 MB / 3.834 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.92e-07/8.362, allocations: 0 / 3.834 GB, free: 29.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00627/8.368, allocations: 1.139 MB / 3.835 GB, free: 29.45 MB / 0.5261 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009184/8.377, allocations: 1.546 MB / 3.837 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002478/8.38, allocations: 1.117 MB / 3.838 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/8.38, allocations: 0 / 3.838 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/8.381, allocations: 0.8136 MB / 3.839 GB, free: 29.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/8.383, allocations: 380.1 kB / 3.839 GB, free: 29.15 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/8.387, allocations: 3.032 MB / 3.842 GB, free: 27.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/8.388, allocations: 1.168 MB / 3.843 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001036/8.389, allocations: 437 kB / 3.843 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/8.389, allocations: 69.86 kB / 3.843 GB, free: 27.19 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/8.389, allocations: 0 / 3.843 GB, free: 27.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.05893/8.448, allocations: 42.96 MB / 3.885 GB, free: 25.44 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches