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.001549/0.001554, allocations: 172.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.861/1.861, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.000942/0.0009419, allocations: 104.4 kB / 281.6 MB, free: 5.324 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.2481/0.2481, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.495e-05, allocations: 0 / 444.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1811, allocations: 61.91 MB / 0.4947 GB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.098/1.279, allocations: 236.5 MB / 0.7256 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003941/1.279, allocations: 87.36 kB / 0.7257 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8691/2.148, allocations: 246 MB / 0.966 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.503e-06/2.149, allocations: 192 / 0.966 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.57e-05/2.149, allocations: 22.19 kB / 0.966 GB, free: 122.4 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.002694/2.151, allocations: 1.179 MB / 0.9672 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/2.151, allocations: 11.77 kB / 0.9672 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009165/2.152, allocations: 146.1 kB / 0.9673 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008622/2.153, allocations: 0.5476 MB / 0.9678 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.383e-05/2.153, allocations: 84.17 kB / 0.9679 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/2.153, allocations: 29.53 kB / 0.9679 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007299/2.154, allocations: 0.4961 MB / 0.9684 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009091/2.155, allocations: 0.7309 MB / 0.9691 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/2.155, allocations: 7.891 kB / 0.9692 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.129e-05/2.155, allocations: 7.906 kB / 0.9692 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/2.155, allocations: 40.88 kB / 0.9692 GB, free: 120.4 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.003666/2.159, allocations: 4.375 MB / 0.9735 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/2.159, allocations: 293.9 kB / 0.9738 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/2.159, allocations: 127.1 kB / 0.9739 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/2.16, allocations: 418.9 kB / 0.9743 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/2.16, allocations: 34.56 kB / 0.9743 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 1.993e-06/2.16, allocations: 0 / 0.9743 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.002927/2.163, allocations: 1.215 MB / 0.9755 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/2.163, allocations: 134.9 kB / 0.9756 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/2.163, allocations: 464.2 kB / 0.9761 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/2.163, allocations: 25.7 kB / 0.9761 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/2.163, allocations: 400.1 kB / 0.9765 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/2.163, allocations: 137.1 kB / 0.9766 GB, free: 113 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/2.163, allocations: 2.188 kB / 0.9766 GB, free: 113 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.753e-05/2.163, allocations: 366.1 kB / 0.977 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/2.164, allocations: 177.3 kB / 0.9771 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/2.164, allocations: 475.8 kB / 0.9776 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/2.165, allocations: 326.5 kB / 0.9779 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/2.165, allocations: 4 kB / 0.9779 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001369/2.166, allocations: 0.797 MB / 0.9787 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/2.166, allocations: 15.98 kB / 0.9787 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/2.166, allocations: 11.83 kB / 0.9787 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000694/2.167, allocations: 220.6 kB / 0.9789 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/2.167, allocations: 123.8 kB / 0.979 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009859/2.168, allocations: 1.425 MB / 0.9804 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/2.169, allocations: 23.17 kB / 0.9804 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/2.169, allocations: 36.06 kB / 0.9805 GB, free: 109 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.0001306/2.169, allocations: 132.7 kB / 0.9806 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.779e-05/2.169, allocations: 67.25 kB / 0.9807 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/2.17, allocations: 0.6781 MB / 0.9813 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/2.17, allocations: 4 kB / 0.9813 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/2.17, allocations: 0 / 0.9813 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/2.17, allocations: 3.984 kB / 0.9813 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/2.172, allocations: 1.13 MB / 0.9824 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/2.172, allocations: 0 / 0.9824 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/2.172, allocations: 35.98 kB / 0.9825 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/2.173, allocations: 157.6 kB / 0.9826 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/2.173, allocations: 8 kB / 0.9826 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007905/2.173, allocations: 1.308 MB / 0.9839 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/2.174, allocations: 128 / 0.9839 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/2.175, allocations: 0.7858 MB / 0.9847 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/2.175, allocations: 176.4 kB / 0.9848 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/2.175, allocations: 12.05 kB / 0.9849 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/2.175, allocations: 19.84 kB / 0.9849 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/2.175, allocations: 23.97 kB / 0.9849 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/2.175, allocations: 23.98 kB / 0.9849 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003065/2.176, allocations: 334.9 kB / 0.9852 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/2.176, allocations: 0 / 0.9852 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009736/2.177, allocations: 276.1 kB / 0.9855 GB, free: 103.6 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.0006236/2.177, allocations: 320.2 kB / 0.9858 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007722/2.178, allocations: 470.8 kB / 0.9863 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/2.178, allocations: 11 kB / 0.9863 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/2.178, allocations: 192.3 kB / 0.9864 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/2.18, allocations: 252.2 kB / 0.9867 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/2.181, allocations: 0.8601 MB / 0.9875 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/2.181, allocations: 0.9417 MB / 0.9884 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006486/2.182, allocations: 248.5 kB / 0.9887 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/2.182, allocations: 47.44 kB / 0.9887 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of SimCode: time 8.41e-07/2.182, allocations: 0 / 0.9887 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.01769/2.2, allocations: 12.37 MB / 1.001 GB, free: 88.21 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