Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 180.2 kB / 14.15 MB, free: 1.176 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.344/1.344, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009646/0.0009649, allocations: 99.66 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1964/0.1964, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.08e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8373/0.9717, allocations: 237.1 MB / 0.7333 GB, free: 183.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.972, allocations: 98 kB / 0.7334 GB, free: 183.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7665/1.739, allocations: 248.1 MB / 0.9757 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.002e-06/1.739, allocations: 0 / 0.9757 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.599e-05/1.739, allocations: 19.58 kB / 0.9757 GB, free: 121.3 MB / 0.5105 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.002263/1.741, allocations: 1.174 MB / 0.9769 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/1.741, allocations: 13.44 kB / 0.9769 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009812/1.742, allocations: 146.7 kB / 0.977 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009208/1.743, allocations: 0.5461 MB / 0.9776 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/1.743, allocations: 106 kB / 0.9777 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/1.743, allocations: 53.94 kB / 0.9777 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/1.744, allocations: 0.8114 MB / 0.9785 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/1.744, allocations: 6.062 kB / 0.9785 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.868e-05/1.744, allocations: 26.61 kB / 0.9786 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.425e-05/1.744, allocations: 38.81 kB / 0.9786 GB, free: 120 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008761/1.745, allocations: 0.5747 MB / 0.9792 GB, free: 119.9 MB / 0.5105 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.00373/1.749, allocations: 4.497 MB / 0.9835 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/1.749, allocations: 312.8 kB / 0.9838 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/1.75, allocations: 137.5 kB / 0.984 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/1.75, allocations: 420.6 kB / 0.9844 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/1.75, allocations: 41.66 kB / 0.9844 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.404e-06/1.75, allocations: 0 / 0.9844 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.002685/1.753, allocations: 1.243 MB / 0.9856 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/1.753, allocations: 132.5 kB / 0.9858 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000557/1.753, allocations: 0.5698 MB / 0.9863 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/1.753, allocations: 33.36 kB / 0.9863 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/1.753, allocations: 388.9 kB / 0.9867 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.107e-05/1.754, allocations: 144.4 kB / 0.9869 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/1.754, allocations: 14.88 kB / 0.9869 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.876e-05/1.754, allocations: 379.2 kB / 0.9872 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/1.754, allocations: 190.5 kB / 0.9874 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/1.754, allocations: 496.3 kB / 0.9879 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/1.755, allocations: 287.2 kB / 0.9882 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/1.755, allocations: 0 / 0.9882 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001023/1.756, allocations: 0.8368 MB / 0.989 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.756, allocations: 9.219 kB / 0.989 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.756, allocations: 11.62 kB / 0.989 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.757, allocations: 278.8 kB / 0.9893 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/1.757, allocations: 117.2 kB / 0.9894 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008305/1.758, allocations: 1.391 MB / 0.9907 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/1.759, allocations: 41.56 kB / 0.9908 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/1.759, allocations: 44.91 kB / 0.9908 GB, free: 112.6 MB / 0.5105 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.0001313/1.759, allocations: 152.1 kB / 0.991 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.155e-05/1.759, allocations: 70.22 kB / 0.991 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/1.76, allocations: 0.6635 MB / 0.9917 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.76, allocations: 3.938 kB / 0.9917 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.76, allocations: 2.938 kB / 0.9917 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.76, allocations: 0 / 0.9917 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/1.762, allocations: 1.196 MB / 0.9928 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.762, allocations: 0 / 0.9928 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/1.762, allocations: 49 kB / 0.9929 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007684/1.763, allocations: 185.6 kB / 0.9931 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/1.763, allocations: 10.38 kB / 0.9931 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007229/1.763, allocations: 1.303 MB / 0.9944 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.763, allocations: 3.281 kB / 0.9944 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009162/1.764, allocations: 0.798 MB / 0.9951 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/1.765, allocations: 188.4 kB / 0.9953 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/1.765, allocations: 7.375 kB / 0.9953 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/1.765, allocations: 28.73 kB / 0.9953 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/1.765, allocations: 23.19 kB / 0.9954 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/1.765, allocations: 23.36 kB / 0.9954 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005182/1.766, allocations: 443.5 kB / 0.9958 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/1.766, allocations: 0 / 0.9958 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001031/1.767, allocations: 285.2 kB / 0.9961 GB, free: 109.4 MB / 0.5105 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 (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.0006479/1.767, allocations: 334.9 kB / 0.9964 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008818/1.768, allocations: 0.4977 MB / 0.9969 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.768, allocations: 0 / 0.9969 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/1.769, allocations: 212 kB / 0.9971 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/1.77, allocations: 300 kB / 0.9974 GB, free: 109 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/1.772, allocations: 0.8864 MB / 0.9982 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/1.772, allocations: 0.9421 MB / 0.9992 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006866/1.773, allocations: 262.1 kB / 0.9994 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/1.773, allocations: 58.62 kB / 0.9995 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/1.773, allocations: 2.875 kB / 0.9995 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.02043/1.793, allocations: 14.26 MB / 1.013 GB, free: 95.73 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches