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.001449/0.001448, allocations: 185.8 kB / 16.4 MB, free: 5.746 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.944/1.944, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001118/0.001118, allocations: 92.42 kB / 270.9 MB, free: 8.371 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.5182/0.5182, allocations: 43.56 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005012, allocations: 16 kB / 431.4 MB, free: 5.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1606, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.245, allocations: 240.9 MB / 0.714 GB, free: 108.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/1.245, allocations: 95.09 kB / 0.7141 GB, free: 108.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.358/2.604, allocations: 278.4 MB / 0.9859 GB, free: 68.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/2.604, allocations: 0 / 0.9859 GB, free: 68.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.994e-05/2.604, allocations: 24.16 kB / 0.986 GB, free: 68.75 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.005691/2.609, allocations: 1.634 MB / 0.9876 GB, free: 67.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/2.61, allocations: 12.03 kB / 0.9876 GB, free: 67.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/2.611, allocations: 135.1 kB / 0.9877 GB, free: 66.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/2.613, allocations: 0.5578 MB / 0.9882 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/2.613, allocations: 100.4 kB / 0.9883 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/2.613, allocations: 48 kB / 0.9884 GB, free: 66.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/2.616, allocations: 0.8275 MB / 0.9892 GB, free: 65.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/2.616, allocations: 4 kB / 0.9892 GB, free: 65.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/2.616, allocations: 27.95 kB / 0.9892 GB, free: 65.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.963e-05/2.616, allocations: 40.97 kB / 0.9893 GB, free: 65.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/2.618, allocations: 0.5775 MB / 0.9898 GB, free: 64.63 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.00701/2.625, allocations: 4.449 MB / 0.9942 GB, free: 59.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009968/2.626, allocations: 328.7 kB / 0.9945 GB, free: 59.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/2.626, allocations: 344.2 kB / 0.9948 GB, free: 59.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/2.626, allocations: 35.56 kB / 0.9949 GB, free: 59.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/2.626, allocations: 0 / 0.9949 GB, free: 59.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.006382/2.633, allocations: 1.524 MB / 0.9963 GB, free: 57.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/2.633, allocations: 136.5 kB / 0.9965 GB, free: 57.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/2.634, allocations: 0.5774 MB / 0.997 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/2.634, allocations: 33.7 kB / 0.9971 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/2.634, allocations: 424.7 kB / 0.9975 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/2.634, allocations: 134.2 kB / 0.9976 GB, free: 56.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/2.634, allocations: 12 kB / 0.9976 GB, free: 56.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.479e-05/2.634, allocations: 342.8 kB / 0.9979 GB, free: 55.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005404/2.635, allocations: 201.8 kB / 0.9981 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/2.636, allocations: 0.4942 MB / 0.9986 GB, free: 55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/2.636, allocations: 292.6 kB / 0.9989 GB, free: 54.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/2.636, allocations: 7.953 kB / 0.9989 GB, free: 54.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002123/2.639, allocations: 0.8219 MB / 0.9997 GB, free: 53.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/2.639, allocations: 8 kB / 0.9997 GB, free: 53.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/2.639, allocations: 8 kB / 0.9997 GB, free: 53.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/2.641, allocations: 295.4 kB / 1 GB, free: 53.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/2.642, allocations: 115.8 kB / 1 GB, free: 53.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/2.643, allocations: 1.397 MB / 1.001 GB, free: 52.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/2.644, allocations: 36.11 kB / 1.002 GB, free: 51.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/2.644, allocations: 40 kB / 1.002 GB, free: 51.93 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.0005254/2.645, allocations: 249.5 kB / 1.002 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/2.645, allocations: 71.16 kB / 1.002 GB, free: 51.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/2.647, allocations: 0.7165 MB / 1.003 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/2.647, allocations: 4 kB / 1.003 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/2.648, allocations: 0 / 1.003 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/2.648, allocations: 0 / 1.003 GB, free: 50.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/2.651, allocations: 1.224 MB / 1.004 GB, free: 49.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/2.651, allocations: 0 / 1.004 GB, free: 49.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/2.651, allocations: 43.92 kB / 1.004 GB, free: 49.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/2.652, allocations: 201.5 kB / 1.004 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/2.653, allocations: 11.98 kB / 1.004 GB, free: 49.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/2.654, allocations: 1.292 MB / 1.005 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/2.654, allocations: 7.938 kB / 1.005 GB, free: 47.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/2.656, allocations: 0.8296 MB / 1.006 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000508/2.656, allocations: 208.1 kB / 1.006 GB, free: 46.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/2.657, allocations: 8 kB / 1.006 GB, free: 46.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007321/2.657, allocations: 28.03 kB / 1.006 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.551e-05/2.657, allocations: 23.97 kB / 1.006 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/2.658, allocations: 23.98 kB / 1.006 GB, free: 46.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008097/2.658, allocations: 451 kB / 1.007 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.91e-07/2.658, allocations: 0 / 1.007 GB, free: 46.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002038/2.66, allocations: 375.7 kB / 1.007 GB, free: 45.99 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 (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.001741/2.662, allocations: 477.5 kB / 1.008 GB, free: 45.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001708/2.664, allocations: 0.4997 MB / 1.008 GB, free: 45.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/2.664, allocations: 0 / 1.008 GB, free: 45.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007092/2.665, allocations: 212.6 kB / 1.008 GB, free: 44.84 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/2.667, allocations: 307.8 kB / 1.009 GB, free: 44.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/2.67, allocations: 1.531 MB / 1.01 GB, free: 42.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/2.671, allocations: 0.9482 MB / 1.011 GB, free: 42.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/2.671, allocations: 67.41 kB / 1.011 GB, free: 41.94 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/2.671, allocations: 0 / 1.011 GB, free: 41.94 MB / 0.4948 GB Notification: Performance of Templates: time 0.03266/2.704, allocations: 18.38 MB / 1.029 GB, free: 23.58 MB / 0.4948 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