Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 183 kB / 18.09 MB, free: 3.727 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.424/1.424, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0007478/0.0007478, allocations: 94.33 kB / 293.3 MB, free: 10.76 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.3415/0.3415, allocations: 44.16 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003606, allocations: 15.98 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3599, allocations: 61.88 MB / 0.5107 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4559/0.8159, allocations: 237.2 MB / 0.7424 GB, free: 112.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.8161, allocations: 99.92 kB / 0.7425 GB, free: 112.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7075/1.524, allocations: 235.5 MB / 0.9725 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.894e-06/1.524, allocations: 0 / 0.9725 GB, free: 75.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.732e-05/1.524, allocations: 20 kB / 0.9725 GB, free: 75.54 MB / 0.4948 GB 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.003139/1.527, allocations: 1.258 MB / 0.9738 GB, free: 74.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.527, allocations: 11.97 kB / 0.9738 GB, free: 74.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/1.528, allocations: 139.9 kB / 0.9739 GB, free: 74.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/1.529, allocations: 0.5683 MB / 0.9745 GB, free: 73.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/1.529, allocations: 109.6 kB / 0.9746 GB, free: 73.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/1.529, allocations: 48 kB / 0.9746 GB, free: 73.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.531, allocations: 0.8285 MB / 0.9754 GB, free: 72.42 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/1.531, allocations: 4 kB / 0.9754 GB, free: 72.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/1.531, allocations: 27.83 kB / 0.9755 GB, free: 72.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/1.531, allocations: 40.97 kB / 0.9755 GB, free: 72.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/1.532, allocations: 0.5931 MB / 0.9761 GB, free: 71.76 MB / 0.4948 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.003958/1.536, allocations: 4.486 MB / 0.9805 GB, free: 66.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/1.536, allocations: 326.6 kB / 0.9808 GB, free: 66.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/1.537, allocations: 133.3 kB / 0.9809 GB, free: 66.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/1.537, allocations: 417.3 kB / 0.9813 GB, free: 66.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/1.537, allocations: 38.55 kB / 0.9813 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/1.537, allocations: 8 kB / 0.9813 GB, free: 65.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.003383/1.54, allocations: 1.516 MB / 0.9828 GB, free: 64.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/1.54, allocations: 136.5 kB / 0.9829 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006995/1.541, allocations: 0.6485 MB / 0.9836 GB, free: 63.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/1.541, allocations: 29.7 kB / 0.9836 GB, free: 63.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/1.541, allocations: 398.1 kB / 0.984 GB, free: 63.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.09e-05/1.541, allocations: 130 kB / 0.9841 GB, free: 63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/1.541, allocations: 16 kB / 0.9841 GB, free: 62.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.541, allocations: 378.7 kB / 0.9845 GB, free: 62.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/1.542, allocations: 197.9 kB / 0.9847 GB, free: 62.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/1.542, allocations: 0.4942 MB / 0.9852 GB, free: 61.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/1.543, allocations: 0.7056 MB / 0.9858 GB, free: 60.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.543, allocations: 4 kB / 0.9858 GB, free: 60.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001266/1.544, allocations: 0.8486 MB / 0.9867 GB, free: 60.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/1.544, allocations: 8.188 kB / 0.9867 GB, free: 60.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/1.544, allocations: 15.94 kB / 0.9867 GB, free: 60.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/1.545, allocations: 284.6 kB / 0.987 GB, free: 59.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000371/1.546, allocations: 123.8 kB / 0.9871 GB, free: 59.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/1.547, allocations: 1.386 MB / 0.9884 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/1.548, allocations: 47.95 kB / 0.9885 GB, free: 58.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/1.548, allocations: 40 kB / 0.9885 GB, free: 58.12 MB / 0.4948 GB 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.0003628/1.548, allocations: 249.5 kB / 0.9888 GB, free: 57.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/1.548, allocations: 67.25 kB / 0.9888 GB, free: 57.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/1.55, allocations: 0.6775 MB / 0.9895 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.55, allocations: 4 kB / 0.9895 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.55, allocations: 0 / 0.9895 GB, free: 57.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.55, allocations: 3.984 kB / 0.9895 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/1.551, allocations: 1.205 MB / 0.9907 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.551, allocations: 0 / 0.9907 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/1.551, allocations: 43.92 kB / 0.9907 GB, free: 55.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007375/1.552, allocations: 193.5 kB / 0.9909 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/1.552, allocations: 8 kB / 0.9909 GB, free: 55.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007607/1.553, allocations: 1.3 MB / 0.9922 GB, free: 54.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.553, allocations: 0 / 0.9922 GB, free: 54.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/1.554, allocations: 0.7785 MB / 0.9929 GB, free: 53.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/1.554, allocations: 200.3 kB / 0.9931 GB, free: 53.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/1.554, allocations: 12.06 kB / 0.9931 GB, free: 53.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/1.555, allocations: 27.89 kB / 0.9932 GB, free: 53.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/1.555, allocations: 23.97 kB / 0.9932 GB, free: 53.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/1.555, allocations: 23.92 kB / 0.9932 GB, free: 53.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004354/1.555, allocations: 451 kB / 0.9936 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.555, allocations: 0 / 0.9936 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009348/1.556, allocations: 287.6 kB / 0.9939 GB, free: 52.41 MB / 0.4948 GB 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 (25): * Single equations (assignments): 23 * 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.0006918/1.557, allocations: 332.8 kB / 0.9942 GB, free: 52.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008477/1.558, allocations: 0.5035 MB / 0.9947 GB, free: 51.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.558, allocations: 0 / 0.9947 GB, free: 51.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003712/1.558, allocations: 203.8 kB / 0.9949 GB, free: 51.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/1.56, allocations: 318.1 kB / 0.9952 GB, free: 51.08 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/1.561, allocations: 1.49 MB / 0.9967 GB, free: 49.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/1.562, allocations: 0.9345 MB / 0.9976 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007098/1.562, allocations: 257.8 kB / 0.9978 GB, free: 48.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/1.563, allocations: 59.36 kB / 0.9979 GB, free: 48.29 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/1.563, allocations: 4 kB / 0.9979 GB, free: 48.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.01991/1.583, allocations: 14.41 MB / 1.012 GB, free: 34.09 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Essotherm650/Essotherm650.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches