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.001538/0.001538, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001094/0.001094, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3174/0.3174, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.435e-05, allocations: 0 / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 58.86 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.173, allocations: 240.7 MB / 0.7079 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/1.173, allocations: 96.86 kB / 0.7079 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.444/2.617, allocations: 289.4 MB / 0.9905 GB, free: 96.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.042e-06/2.617, allocations: 4 kB / 0.9906 GB, free: 96.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001231/2.617, allocations: 18.36 kB / 0.9906 GB, free: 96.07 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.007324/2.624, allocations: 1.559 MB / 0.9921 GB, free: 94.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/2.625, allocations: 12.02 kB / 0.9921 GB, free: 94.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/2.627, allocations: 143 kB / 0.9922 GB, free: 94.33 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/2.63, allocations: 0.5462 MB / 0.9928 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/2.63, allocations: 100.3 kB / 0.9929 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/2.63, allocations: 54.48 kB / 0.9929 GB, free: 93.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/2.633, allocations: 0.8088 MB / 0.9937 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.186e-05/2.633, allocations: 7.938 kB / 0.9937 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/2.634, allocations: 27.95 kB / 0.9937 GB, free: 92.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/2.634, allocations: 36.98 kB / 0.9938 GB, free: 92.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/2.636, allocations: 0.5695 MB / 0.9943 GB, free: 92.07 MB / 0.4948 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.00969/2.646, allocations: 4.435 MB / 0.9987 GB, free: 87.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/2.647, allocations: 320.7 kB / 0.999 GB, free: 87.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/2.648, allocations: 141.1 kB / 0.9991 GB, free: 86.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/2.648, allocations: 344.8 kB / 0.9994 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/2.648, allocations: 42.56 kB / 0.9995 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 4.328e-06/2.648, allocations: 0 / 0.9995 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.006811/2.655, allocations: 1.256 MB / 1.001 GB, free: 85.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/2.655, allocations: 132.5 kB / 1.001 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/2.657, allocations: 0.5658 MB / 1.001 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/2.657, allocations: 41.69 kB / 1.001 GB, free: 84.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/2.657, allocations: 416.7 kB / 1.002 GB, free: 83.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/2.658, allocations: 134 kB / 1.002 GB, free: 83.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/2.658, allocations: 12 kB / 1.002 GB, free: 83.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/2.658, allocations: 342.8 kB / 1.002 GB, free: 83.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007272/2.659, allocations: 193.5 kB / 1.002 GB, free: 83.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009755/2.66, allocations: 499.6 kB / 1.003 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/2.66, allocations: 285.3 kB / 1.003 GB, free: 82.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/2.661, allocations: 11.95 kB / 1.003 GB, free: 82.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002932/2.663, allocations: 0.8062 MB / 1.004 GB, free: 81.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/2.664, allocations: 8.156 kB / 1.004 GB, free: 81.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/2.664, allocations: 16 kB / 1.004 GB, free: 81.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/2.667, allocations: 283.6 kB / 1.004 GB, free: 81.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/2.668, allocations: 127.8 kB / 1.004 GB, free: 81.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/2.67, allocations: 1.382 MB / 1.006 GB, free: 79.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/2.671, allocations: 44.05 kB / 1.006 GB, free: 79.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/2.671, allocations: 40 kB / 1.006 GB, free: 79.58 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 () * 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.0002926/2.672, allocations: 144.8 kB / 1.006 GB, free: 79.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/2.672, allocations: 75.14 kB / 1.006 GB, free: 79.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/2.675, allocations: 0.6942 MB / 1.007 GB, free: 78.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/2.675, allocations: 4 kB / 1.007 GB, free: 78.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/2.675, allocations: 0 / 1.007 GB, free: 78.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/2.675, allocations: 7.984 kB / 1.007 GB, free: 78.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/2.679, allocations: 1.216 MB / 1.008 GB, free: 77.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/2.68, allocations: 3.938 kB / 1.008 GB, free: 77.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/2.68, allocations: 39.92 kB / 1.008 GB, free: 77.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001972/2.682, allocations: 206.9 kB / 1.008 GB, free: 77.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/2.682, allocations: 8 kB / 1.008 GB, free: 77.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/2.684, allocations: 1.284 MB / 1.009 GB, free: 75.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/2.684, allocations: 128 / 1.009 GB, free: 75.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002823/2.687, allocations: 0.8298 MB / 1.01 GB, free: 74.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006573/2.687, allocations: 208.2 kB / 1.01 GB, free: 74.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/2.688, allocations: 4 kB / 1.01 GB, free: 74.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/2.689, allocations: 27.92 kB / 1.01 GB, free: 74.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/2.689, allocations: 28.03 kB / 1.011 GB, free: 74.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/2.689, allocations: 19.98 kB / 1.011 GB, free: 74.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001166/2.69, allocations: 447.1 kB / 1.011 GB, free: 74.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.142e-06/2.69, allocations: 0 / 1.011 GB, free: 74.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002605/2.693, allocations: 379.6 kB / 1.011 GB, free: 73.78 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 () * 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.001913/2.695, allocations: 473.2 kB / 1.012 GB, free: 73.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002192/2.697, allocations: 0.5038 MB / 1.012 GB, free: 72.83 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/2.697, allocations: 0 / 1.012 GB, free: 72.83 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009536/2.698, allocations: 211.7 kB / 1.012 GB, free: 72.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/2.702, allocations: 302.8 kB / 1.013 GB, free: 72.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/2.705, allocations: 0.9185 MB / 1.014 GB, free: 71.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/2.706, allocations: 0.9383 MB / 1.015 GB, free: 70.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/2.707, allocations: 71.41 kB / 1.015 GB, free: 70.34 MB / 0.4948 GB Notification: Performance of SimCode: time 1.553e-06/2.707, allocations: 0 / 1.015 GB, free: 70.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.03965/2.746, allocations: 18.35 MB / 1.033 GB, free: 52 MB / 0.4948 GB 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