Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Glycol47,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.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,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.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002012/0.002012, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001182, allocations: 96.56 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3015/0.3015, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.409e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4092, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7257/1.135, allocations: 240.2 MB / 0.7005 GB, free: 94.49 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/1.135, allocations: 93.69 kB / 0.7005 GB, free: 94.44 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.32/2.455, allocations: 275.6 MB / 0.9697 GB, free: 61.97 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.004e-06/2.455, allocations: 0 / 0.9697 GB, free: 61.97 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 7.229e-05/2.455, allocations: 15.75 kB / 0.9697 GB, free: 61.96 MB / 0.4952 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.005128/2.461, allocations: 1.558 MB / 0.9712 GB, free: 60.36 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/2.461, allocations: 12.03 kB / 0.9712 GB, free: 60.35 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/2.462, allocations: 143 kB / 0.9714 GB, free: 60.21 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/2.464, allocations: 0.5529 MB / 0.9719 GB, free: 59.62 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/2.464, allocations: 84.7 kB / 0.972 GB, free: 59.53 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/2.465, allocations: 28 kB / 0.972 GB, free: 59.5 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001303/2.466, allocations: 0.4945 MB / 0.9725 GB, free: 59.01 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/2.468, allocations: 0.7313 MB / 0.9732 GB, free: 58.2 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/2.468, allocations: 0 / 0.9732 GB, free: 58.2 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/2.468, allocations: 7.984 kB / 0.9732 GB, free: 58.19 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.993e-05/2.468, allocations: 37.3 kB / 0.9733 GB, free: 58.15 MB / 0.4952 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.006858/2.475, allocations: 4.334 MB / 0.9775 GB, free: 53.54 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/2.475, allocations: 298.5 kB / 0.9778 GB, free: 53.24 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/2.476, allocations: 128.8 kB / 0.9779 GB, free: 53.11 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003619/2.476, allocations: 345.3 kB / 0.9782 GB, free: 52.7 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/2.476, allocations: 38.56 kB / 0.9783 GB, free: 52.66 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=30): time 3.547e-06/2.476, allocations: 0 / 0.9783 GB, free: 52.66 MB / 0.4952 GB Notification: Performance of matching and sorting (n=36): time 0.005311/2.481, allocations: 1.239 MB / 0.9795 GB, free: 51.36 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/2.482, allocations: 136.5 kB / 0.9796 GB, free: 51.2 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/2.482, allocations: 466.1 kB / 0.98 GB, free: 50.73 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/2.482, allocations: 25.7 kB / 0.9801 GB, free: 50.7 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/2.483, allocations: 437.3 kB / 0.9805 GB, free: 50.27 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/2.483, allocations: 134.1 kB / 0.9806 GB, free: 50.14 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/2.483, allocations: 0 / 0.9806 GB, free: 50.14 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/2.483, allocations: 342.8 kB / 0.9809 GB, free: 49.8 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/2.483, allocations: 177.5 kB / 0.9811 GB, free: 49.62 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005611/2.484, allocations: 470.3 kB / 0.9816 GB, free: 49.02 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/2.485, allocations: 340.4 kB / 0.9819 GB, free: 48.69 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.028e-06/2.485, allocations: 4 kB / 0.9819 GB, free: 48.69 MB / 0.4952 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002608/2.488, allocations: 0.7866 MB / 0.9827 GB, free: 47.89 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/2.488, allocations: 12.19 kB / 0.9827 GB, free: 47.88 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/2.488, allocations: 12 kB / 0.9827 GB, free: 47.86 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/2.489, allocations: 221.1 kB / 0.9829 GB, free: 47.64 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/2.49, allocations: 131.8 kB / 0.983 GB, free: 47.52 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/2.492, allocations: 1.405 MB / 0.9844 GB, free: 46.06 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/2.493, allocations: 32 kB / 0.9844 GB, free: 46.03 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/2.493, allocations: 47.97 kB / 0.9845 GB, free: 45.98 MB / 0.4952 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.0002323/2.493, allocations: 136.5 kB / 0.9846 GB, free: 45.84 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/2.494, allocations: 59.41 kB / 0.9847 GB, free: 45.78 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/2.496, allocations: 0.6965 MB / 0.9853 GB, free: 45.06 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/2.496, allocations: 4 kB / 0.9853 GB, free: 45.06 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/2.496, allocations: 0 / 0.9853 GB, free: 45.06 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/2.496, allocations: 0 / 0.9853 GB, free: 45.06 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/2.499, allocations: 1.172 MB / 0.9865 GB, free: 43.83 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/2.5, allocations: 0 / 0.9865 GB, free: 43.83 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/2.5, allocations: 39.98 kB / 0.9865 GB, free: 43.79 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008019/2.501, allocations: 169.5 kB / 0.9867 GB, free: 43.62 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/2.501, allocations: 4 kB / 0.9867 GB, free: 43.62 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/2.502, allocations: 1.315 MB / 0.988 GB, free: 42.25 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/2.502, allocations: 4 kB / 0.988 GB, free: 42.25 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/2.504, allocations: 0.814 MB / 0.9888 GB, free: 41.39 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004866/2.505, allocations: 196.3 kB / 0.989 GB, free: 41.18 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/2.505, allocations: 0 / 0.989 GB, free: 41.18 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007043/2.506, allocations: 15.98 kB / 0.989 GB, free: 41.16 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/2.506, allocations: 31.86 kB / 0.989 GB, free: 41.13 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.037e-05/2.506, allocations: 27.98 kB / 0.989 GB, free: 41.1 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0005813/2.507, allocations: 346.9 kB / 0.9894 GB, free: 40.77 MB / 0.4952 GB Notification: Performance of sort global known variables: time 3.9e-07/2.507, allocations: 0 / 0.9894 GB, free: 40.77 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001921/2.509, allocations: 354.8 kB / 0.9897 GB, free: 40.42 MB / 0.4952 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.001433/2.51, allocations: 456.3 kB / 0.9901 GB, free: 39.99 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001384/2.511, allocations: 462.9 kB / 0.9906 GB, free: 39.54 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/2.511, allocations: 4 kB / 0.9906 GB, free: 39.54 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0006345/2.512, allocations: 208.9 kB / 0.9908 GB, free: 39.33 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/2.514, allocations: 238.4 kB / 0.991 GB, free: 39.11 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/2.517, allocations: 0.8814 MB / 0.9919 GB, free: 38.18 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/2.517, allocations: 0.9417 MB / 0.9928 GB, free: 37.21 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/2.518, allocations: 67.41 kB / 0.9929 GB, free: 37.14 MB / 0.4952 GB Notification: Performance of SimCode: time 1.323e-06/2.518, allocations: 0 / 0.9929 GB, free: 37.14 MB / 0.4952 GB Notification: Performance of Templates: time 0.0329/2.55, allocations: 17.7 MB / 1.01 GB, free: 19.45 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches