Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008668/0.0008667, allocations: 82.64 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2102/0.2102, allocations: 43.48 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.545e-05/1.537e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 58.86 MB / 477.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.626/6.741, allocations: 2.793 GB / 3.259 GB, free: 80.24 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/6.742, allocations: 93.48 kB / 3.259 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.036/8.777, allocations: 497.8 MB / 3.745 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.457e-06/8.777, allocations: 2.375 kB / 3.745 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.624e-05/8.777, allocations: 18.03 kB / 3.745 GB, free: 63.01 MB / 0.5105 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.006922/8.784, allocations: 1.691 MB / 3.747 GB, free: 62.41 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/8.784, allocations: 12.72 kB / 3.747 GB, free: 62.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/8.786, allocations: 231.2 kB / 3.747 GB, free: 62.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/8.787, allocations: 0.5817 MB / 3.748 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/8.787, allocations: 89.38 kB / 3.748 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/8.787, allocations: 38.72 kB / 3.748 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001254/8.789, allocations: 0.6247 MB / 3.749 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/8.79, allocations: 0.8781 MB / 3.749 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/8.79, allocations: 4.344 kB / 3.749 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-05/8.79, allocations: 5.703 kB / 3.749 GB, free: 61.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.262e-05/8.79, allocations: 48.16 kB / 3.75 GB, free: 61.74 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.1176/8.908, allocations: 67.79 MB / 3.816 GB, free: 35.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/8.909, allocations: 343.6 kB / 3.816 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/8.909, allocations: 152.1 kB / 3.816 GB, free: 35.94 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08668/8.996, allocations: 47.35 MB / 3.862 GB, free: 21.83 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/8.996, allocations: 36.19 kB / 3.862 GB, free: 21.79 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/8.996, allocations: 1.969 kB / 3.862 GB, free: 21.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.006233/9.002, allocations: 1.609 MB / 3.864 GB, free: 37.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/9.002, allocations: 132.2 kB / 3.864 GB, free: 37.22 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005678/9.003, allocations: 493.1 kB / 3.865 GB, free: 37.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/9.003, allocations: 25.7 kB / 3.865 GB, free: 37.07 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/9.003, allocations: 441 kB / 3.865 GB, free: 36.81 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/9.003, allocations: 134.8 kB / 3.865 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/9.003, allocations: 0 / 3.865 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001604/9.003, allocations: 371.9 kB / 3.866 GB, free: 36.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/9.003, allocations: 207.4 kB / 3.866 GB, free: 36.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/9.004, allocations: 0.5565 MB / 3.866 GB, free: 35.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/9.005, allocations: 425.7 kB / 3.867 GB, free: 35.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/9.005, allocations: 0 / 3.867 GB, free: 35.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001777/9.007, allocations: 0.8795 MB / 3.868 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/9.007, allocations: 10.66 kB / 3.868 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/9.007, allocations: 10.94 kB / 3.868 GB, free: 35.85 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/9.007, allocations: 78.89 kB / 3.868 GB, free: 35.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/9.008, allocations: 288.5 kB / 3.868 GB, free: 35.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/9.01, allocations: 2.06 MB / 3.87 GB, free: 34.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/9.011, allocations: 53.11 kB / 3.87 GB, free: 34.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/9.011, allocations: 41.19 kB / 3.87 GB, free: 34.04 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001869/9.011, allocations: 142 kB / 3.87 GB, free: 33.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.037e-05/9.011, allocations: 66.58 kB / 3.87 GB, free: 33.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/9.013, allocations: 1.501 MB / 3.872 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/9.013, allocations: 17.72 kB / 3.872 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/9.013, allocations: 0 / 3.872 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/9.013, allocations: 6.234 kB / 3.872 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002385/9.015, allocations: 2.353 MB / 3.874 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/9.015, allocations: 7.172 kB / 3.874 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007811/9.016, allocations: 173.5 kB / 3.874 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002622/9.017, allocations: 118.3 kB / 3.874 GB, free: 33.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/9.017, allocations: 6.781 kB / 3.874 GB, free: 33.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/9.018, allocations: 2.07 MB / 3.876 GB, free: 31.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/9.018, allocations: 3.875 kB / 3.876 GB, free: 31.51 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/9.02, allocations: 1.522 MB / 3.878 GB, free: 31.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002794/9.02, allocations: 202.4 kB / 3.878 GB, free: 31.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/9.02, allocations: 3.516 kB / 3.878 GB, free: 31.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003421/9.02, allocations: 18.44 kB / 3.878 GB, free: 31.12 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/9.02, allocations: 35.34 kB / 3.878 GB, free: 31.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/9.02, allocations: 14.64 kB / 3.878 GB, free: 31.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003846/9.021, allocations: 356.6 kB / 3.878 GB, free: 31.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/9.021, allocations: 0 / 3.878 GB, free: 31.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00518/9.026, allocations: 1.089 MB / 3.88 GB, free: 30.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00678/9.033, allocations: 1.638 MB / 3.881 GB, free: 30.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001779/9.035, allocations: 0.7983 MB / 3.882 GB, free: 30.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/9.035, allocations: 0 / 3.882 GB, free: 30.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008976/9.035, allocations: 0.5558 MB / 3.882 GB, free: 30.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/9.037, allocations: 256 kB / 3.883 GB, free: 30.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/9.039, allocations: 1.373 MB / 3.884 GB, free: 30.13 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/9.04, allocations: 1.054 MB / 3.885 GB, free: 29.41 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007397/9.04, allocations: 423.8 kB / 3.885 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/9.041, allocations: 55.56 kB / 3.886 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/9.041, allocations: 0 / 3.886 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of Templates: time 0.04444/9.085, allocations: 32.63 MB / 3.917 GB, free: 20.24 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches