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.00129/0.001289, allocations: 176.7 kB / 17.06 MB, free: 5.098 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.2 MB / 241 MB, free: 11.88 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.001066/0.001066, allocations: 96.73 kB / 292.2 MB, free: 10.91 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.3809/0.3809, allocations: 44.22 MB / 387.5 MB, free: 39.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 11.94 kB / 459.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4437, allocations: 61.9 MB / 0.5096 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.565/1.009, allocations: 237.2 MB / 0.7412 GB, free: 112.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.009, allocations: 107.7 kB / 0.7413 GB, free: 112.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8261/1.835, allocations: 248.7 MB / 0.9842 GB, free: 63.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.352e-06/1.835, allocations: 3.938 kB / 0.9842 GB, free: 63.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.196e-05/1.835, allocations: 16 kB / 0.9842 GB, free: 63.36 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.002884/1.838, allocations: 1.27 MB / 0.9854 GB, free: 62.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.838, allocations: 8.031 kB / 0.9855 GB, free: 62.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009723/1.839, allocations: 139 kB / 0.9856 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/1.84, allocations: 0.552 MB / 0.9861 GB, free: 61.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/1.84, allocations: 104.4 kB / 0.9862 GB, free: 61.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/1.84, allocations: 51.94 kB / 0.9863 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/1.842, allocations: 0.8247 MB / 0.9871 GB, free: 60.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/1.842, allocations: 0 / 0.9871 GB, free: 60.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/1.842, allocations: 31.97 kB / 0.9871 GB, free: 60.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/1.842, allocations: 44.86 kB / 0.9872 GB, free: 60.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009156/1.843, allocations: 0.597 MB / 0.9877 GB, free: 59.55 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.004034/1.847, allocations: 4.479 MB / 0.9921 GB, free: 54.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/1.847, allocations: 325.1 kB / 0.9924 GB, free: 54.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/1.848, allocations: 409.5 kB / 0.9928 GB, free: 53.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/1.848, allocations: 42.56 kB / 0.9929 GB, free: 53.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 3.467e-06/1.848, allocations: 0 / 0.9929 GB, free: 53.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.003508/1.851, allocations: 1.52 MB / 0.9943 GB, free: 52.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/1.851, allocations: 136.5 kB / 0.9945 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006319/1.852, allocations: 0.5735 MB / 0.995 GB, free: 51.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/1.852, allocations: 29.7 kB / 0.9951 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/1.852, allocations: 398.5 kB / 0.9954 GB, free: 51.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/1.852, allocations: 126.2 kB / 0.9956 GB, free: 50.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/1.852, allocations: 16 kB / 0.9956 GB, free: 50.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.852, allocations: 378.7 kB / 0.9959 GB, free: 50.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/1.853, allocations: 197.9 kB / 0.9961 GB, free: 50.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/1.853, allocations: 0.4941 MB / 0.9966 GB, free: 49.77 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/1.853, allocations: 288.6 kB / 0.9969 GB, free: 49.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.853, allocations: 0 / 0.9969 GB, free: 49.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001073/1.855, allocations: 0.8518 MB / 0.9977 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.855, allocations: 12.91 kB / 0.9977 GB, free: 48.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.855, allocations: 8 kB / 0.9977 GB, free: 48.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/1.856, allocations: 281.4 kB / 0.998 GB, free: 48.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/1.856, allocations: 115.8 kB / 0.9981 GB, free: 48.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008749/1.857, allocations: 1.393 MB / 0.9995 GB, free: 46.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005265/1.858, allocations: 40.02 kB / 0.9995 GB, free: 46.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.263e-05/1.858, allocations: 48.05 kB / 0.9996 GB, free: 46.67 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.0002988/1.858, allocations: 241.5 kB / 0.9998 GB, free: 46.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/1.858, allocations: 79.17 kB / 0.9999 GB, free: 46.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/1.859, allocations: 0.6845 MB / 1.001 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.859, allocations: 4 kB / 1.001 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.859, allocations: 4 kB / 1.001 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/1.859, allocations: 3.984 kB / 1.001 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/1.861, allocations: 1.194 MB / 1.002 GB, free: 44.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.861, allocations: 3.984 kB / 1.002 GB, free: 44.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/1.861, allocations: 39.92 kB / 1.002 GB, free: 44.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007495/1.862, allocations: 193.6 kB / 1.002 GB, free: 44.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/1.862, allocations: 11.98 kB / 1.002 GB, free: 44.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007148/1.863, allocations: 1.3 MB / 1.003 GB, free: 42.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.863, allocations: 8.062 kB / 1.003 GB, free: 42.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009328/1.863, allocations: 0.8091 MB / 1.004 GB, free: 41.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/1.864, allocations: 200.3 kB / 1.004 GB, free: 41.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-05/1.864, allocations: 8 kB / 1.004 GB, free: 41.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/1.864, allocations: 24.05 kB / 1.004 GB, free: 41.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/1.864, allocations: 27.95 kB / 1.004 GB, free: 41.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/1.864, allocations: 19.98 kB / 1.004 GB, free: 41.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004422/1.865, allocations: 451 kB / 1.005 GB, free: 41.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.865, allocations: 4 kB / 1.005 GB, free: 41.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001017/1.866, allocations: 279.9 kB / 1.005 GB, free: 40.89 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.0006449/1.867, allocations: 327.2 kB / 1.005 GB, free: 40.57 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000853/1.867, allocations: 0.4997 MB / 1.006 GB, free: 40.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.867, allocations: 0 / 1.006 GB, free: 40.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003926/1.868, allocations: 208.7 kB / 1.006 GB, free: 39.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/1.869, allocations: 315 kB / 1.006 GB, free: 39.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/1.871, allocations: 1.494 MB / 1.008 GB, free: 38.05 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/1.871, allocations: 0.95 MB / 1.009 GB, free: 37.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006712/1.872, allocations: 254 kB / 1.009 GB, free: 36.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/1.872, allocations: 55.42 kB / 1.009 GB, free: 36.76 MB / 0.4948 GB Notification: Performance of SimCode: time 4.3e-07/1.872, allocations: 0 / 1.009 GB, free: 36.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.01928/1.891, allocations: 14.18 MB / 1.023 GB, free: 22.75 MB / 0.4948 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