Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 181.1 kB / 17.41 MB, free: 4.281 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 223.6 MB, free: 9.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000811/0.0008109, allocations: 80.95 kB / 271.9 MB, free: 8.254 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.3681/0.3681, allocations: 43.57 MB / 363.8 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003867, allocations: 19.98 kB / 432.6 MB, free: 5.625 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1301, allocations: 58.85 MB / 491.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7389/0.8691, allocations: 240.9 MB / 0.7152 GB, free: 133.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.8694, allocations: 96.95 kB / 0.7153 GB, free: 133.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7052/1.575, allocations: 264.6 MB / 0.9737 GB, free: 61.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.733e-06/1.575, allocations: 0 / 0.9737 GB, free: 61.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.802e-05/1.575, allocations: 15.83 kB / 0.9737 GB, free: 61.72 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.003476/1.578, allocations: 1.637 MB / 0.9753 GB, free: 60.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/1.578, allocations: 8.031 kB / 0.9753 GB, free: 60.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009479/1.579, allocations: 143.9 kB / 0.9755 GB, free: 59.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/1.58, allocations: 0.5682 MB / 0.976 GB, free: 59.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/1.58, allocations: 97.91 kB / 0.9761 GB, free: 59.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/1.58, allocations: 59.89 kB / 0.9762 GB, free: 59.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/1.581, allocations: 0.8207 MB / 0.977 GB, free: 58.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/1.581, allocations: 15.86 kB / 0.977 GB, free: 58.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-05/1.581, allocations: 20 kB / 0.977 GB, free: 58.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/1.581, allocations: 36.98 kB / 0.9771 GB, free: 58.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000899/1.582, allocations: 0.5775 MB / 0.9776 GB, free: 57.59 MB / 490.7 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.003954/1.586, allocations: 4.447 MB / 0.982 GB, free: 52.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/1.587, allocations: 324 kB / 0.9823 GB, free: 52.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/1.587, allocations: 140.8 kB / 0.9824 GB, free: 52.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/1.587, allocations: 344.3 kB / 0.9827 GB, free: 51.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/1.587, allocations: 42.56 kB / 0.9828 GB, free: 51.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=30): time 3.045e-06/1.587, allocations: 0 / 0.9828 GB, free: 51.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.003614/1.591, allocations: 1.522 MB / 0.9843 GB, free: 50.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/1.591, allocations: 137.3 kB / 0.9844 GB, free: 50.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006357/1.592, allocations: 0.6447 MB / 0.985 GB, free: 49.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/1.592, allocations: 33.7 kB / 0.9851 GB, free: 49.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/1.592, allocations: 398.4 kB / 0.9854 GB, free: 49.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.111e-05/1.592, allocations: 134.1 kB / 0.9856 GB, free: 48.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/1.592, allocations: 8 kB / 0.9856 GB, free: 48.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/1.592, allocations: 378.7 kB / 0.9859 GB, free: 48.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/1.593, allocations: 201.9 kB / 0.9861 GB, free: 48.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/1.593, allocations: 0.498 MB / 0.9866 GB, free: 47.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000651/1.594, allocations: 0.7138 MB / 0.9873 GB, free: 46.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.594, allocations: 0 / 0.9873 GB, free: 46.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00114/1.595, allocations: 0.8566 MB / 0.9881 GB, free: 46.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.595, allocations: 8 kB / 0.9881 GB, free: 46.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.595, allocations: 8 kB / 0.9882 GB, free: 46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/1.596, allocations: 287.3 kB / 0.9884 GB, free: 45.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/1.596, allocations: 131.7 kB / 0.9886 GB, free: 45.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009153/1.597, allocations: 1.387 MB / 0.9899 GB, free: 44.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/1.598, allocations: 48.03 kB / 0.99 GB, free: 44.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/1.598, allocations: 43.94 kB / 0.99 GB, free: 44.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002853/1.598, allocations: 245.6 kB / 0.9902 GB, free: 43.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/1.598, allocations: 75.09 kB / 0.9903 GB, free: 43.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/1.599, allocations: 0.7071 MB / 0.991 GB, free: 43.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.599, allocations: 4 kB / 0.991 GB, free: 43.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.599, allocations: 0 / 0.991 GB, free: 43.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.599, allocations: 0 / 0.991 GB, free: 43.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/1.601, allocations: 1.231 MB / 0.9922 GB, free: 41.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/1.601, allocations: 11.98 kB / 0.9922 GB, free: 41.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/1.601, allocations: 35.98 kB / 0.9922 GB, free: 41.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007705/1.602, allocations: 206.8 kB / 0.9924 GB, free: 41.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/1.602, allocations: 12 kB / 0.9925 GB, free: 41.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007053/1.603, allocations: 1.292 MB / 0.9937 GB, free: 40.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.603, allocations: 4.031 kB / 0.9937 GB, free: 40.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/1.604, allocations: 0.8068 MB / 0.9945 GB, free: 39.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/1.604, allocations: 208.1 kB / 0.9947 GB, free: 39.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.56e-05/1.604, allocations: 12 kB / 0.9947 GB, free: 39.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/1.604, allocations: 23.89 kB / 0.9947 GB, free: 39.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/1.605, allocations: 32.02 kB / 0.9948 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/1.605, allocations: 23.98 kB / 0.9948 GB, free: 38.96 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004324/1.605, allocations: 447 kB / 0.9952 GB, free: 38.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.605, allocations: 0 / 0.9952 GB, free: 38.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001205/1.606, allocations: 379.6 kB / 0.9956 GB, free: 38.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007989/1.607, allocations: 457.8 kB / 0.996 GB, free: 37.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008478/1.608, allocations: 0.5083 MB / 0.9965 GB, free: 37.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.608, allocations: 4 kB / 0.9965 GB, free: 37.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/1.608, allocations: 203.8 kB / 0.9967 GB, free: 37.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.61, allocations: 308.9 kB / 0.997 GB, free: 36.72 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/1.611, allocations: 1.547 MB / 0.9985 GB, free: 35.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/1.612, allocations: 0.9228 MB / 0.9994 GB, free: 34.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/1.612, allocations: 79.39 kB / 0.9995 GB, free: 34.11 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/1.612, allocations: 0 / 0.9995 GB, free: 34.11 MB / 490.7 MB Notification: Performance of Templates: time 0.01775/1.63, allocations: 18.5 MB / 1.018 GB, free: 15.64 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches