Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001545/0.001545, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009321/0.0009321, allocations: 87.88 kB / 261.7 MB, free: 1.617 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.2349/0.2349, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.539e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6199/0.7473, allocations: 240.2 MB / 0.7005 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/0.7477, allocations: 98.44 kB / 0.7006 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.187/1.935, allocations: 275.6 MB / 0.9697 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.415e-06/1.935, allocations: 3.688 kB / 0.9697 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001206/1.935, allocations: 21.03 kB / 0.9697 GB, free: 112.3 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.006112/1.941, allocations: 1.561 MB / 0.9713 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/1.941, allocations: 11.75 kB / 0.9713 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/1.943, allocations: 138.6 kB / 0.9714 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/1.944, allocations: 0.543 MB / 0.9719 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/1.944, allocations: 96.38 kB / 0.972 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/1.945, allocations: 33.08 kB / 0.9721 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001146/1.946, allocations: 0.4947 MB / 0.9725 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.947, allocations: 0.7214 MB / 0.9732 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/1.947, allocations: 7.688 kB / 0.9732 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/1.947, allocations: 0 / 0.9732 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.65e-05/1.947, allocations: 46.92 kB / 0.9733 GB, free: 110.9 MB / 0.4948 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.005194/1.953, allocations: 4.325 MB / 0.9775 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/1.953, allocations: 295.1 kB / 0.9778 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/1.953, allocations: 126.5 kB / 0.9779 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/1.954, allocations: 345.2 kB / 0.9782 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/1.954, allocations: 34.38 kB / 0.9783 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 4.348e-06/1.954, allocations: 3.781 kB / 0.9783 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36): time 0.00356/1.957, allocations: 1.241 MB / 0.9795 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/1.957, allocations: 131.6 kB / 0.9796 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006052/1.958, allocations: 462.3 kB / 0.9801 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/1.958, allocations: 25.7 kB / 0.9801 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/1.958, allocations: 404 kB / 0.9805 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.958, allocations: 131.5 kB / 0.9806 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/1.958, allocations: 0 / 0.9806 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.959, allocations: 368 kB / 0.9809 GB, free: 106 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/1.959, allocations: 181.9 kB / 0.9811 GB, free: 106 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/1.959, allocations: 474.2 kB / 0.9816 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008406/1.96, allocations: 337.5 kB / 0.9819 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.96, allocations: 0 / 0.9819 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00158/1.962, allocations: 0.8263 MB / 0.9827 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/1.962, allocations: 7.688 kB / 0.9827 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/1.962, allocations: 7.719 kB / 0.9827 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007673/1.963, allocations: 225.9 kB / 0.9829 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/1.963, allocations: 116.8 kB / 0.983 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/1.964, allocations: 1.424 MB / 0.9844 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/1.965, allocations: 28.12 kB / 0.9845 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/1.965, allocations: 40.97 kB / 0.9845 GB, free: 104.4 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 () * 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.0001628/1.965, allocations: 135.8 kB / 0.9846 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/1.965, allocations: 68.81 kB / 0.9847 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/1.966, allocations: 0.6872 MB / 0.9854 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.966, allocations: 3.969 kB / 0.9854 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.966, allocations: 3.938 kB / 0.9854 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.966, allocations: 3.188 kB / 0.9854 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/1.968, allocations: 1.162 MB / 0.9865 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/1.968, allocations: 3.844 kB / 0.9865 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/1.968, allocations: 46.67 kB / 0.9866 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004419/1.969, allocations: 164 kB / 0.9867 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.969, allocations: 3.969 kB / 0.9867 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009838/1.97, allocations: 1.315 MB / 0.988 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.97, allocations: 3.953 kB / 0.988 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/1.971, allocations: 0.8181 MB / 0.9888 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/1.971, allocations: 196.4 kB / 0.989 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/1.972, allocations: 6.719 kB / 0.989 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/1.972, allocations: 11.28 kB / 0.989 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/1.972, allocations: 28.92 kB / 0.989 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/1.972, allocations: 19.02 kB / 0.9891 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004105/1.973, allocations: 345 kB / 0.9894 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.242e-06/1.973, allocations: 0 / 0.9894 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001693/1.974, allocations: 363.3 kB / 0.9897 GB, free: 102.2 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 () * 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.001136/1.975, allocations: 461.5 kB / 0.9902 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009881/1.976, allocations: 477.7 kB / 0.9906 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.976, allocations: 3.859 kB / 0.9906 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003948/1.977, allocations: 199 kB / 0.9908 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/1.978, allocations: 242.3 kB / 0.9911 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/1.98, allocations: 0.842 MB / 0.9919 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/1.98, allocations: 0.9443 MB / 0.9928 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0006546/1.981, allocations: 237.3 kB / 0.993 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/1.981, allocations: 64.98 kB / 0.9931 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/1.981, allocations: 0 / 0.9931 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.02563/2.007, allocations: 13.94 MB / 1.007 GB, free: 95.75 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches