Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") translateModel(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|eps_m_flow_turbulent|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|orifice.port_b.m_flow|orifice.port_b.p|orifice.port_b.h_outflow|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|p_set.y|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|sink2.ports.1..m_flow|sink2.ports.1..p|sink2.ports.1..h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 195.4 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 226.5 MB / 244.1 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007789/0.0007789, allocations: 106.4 kB / 296.1 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3756/0.3756, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003439, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4061, allocations: 62.95 MB / 0.5165 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.759/7.165, allocations: 2.825 GB / 3.341 GB, free: 166 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/7.166, allocations: 88.83 kB / 3.341 GB, free: 165.9 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.614/9.78, allocations: 0.7201 GB / 4.061 GB, free: 34.27 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.627e-06/9.78, allocations: 0 / 4.061 GB, free: 34.27 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001203/9.78, allocations: 34.19 kB / 4.061 GB, free: 34.26 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01399/9.794, allocations: 2.873 MB / 4.064 GB, free: 32.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/9.794, allocations: 11.44 kB / 4.064 GB, free: 32.62 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005547/9.8, allocations: 0.6172 MB / 4.065 GB, free: 32.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003837/9.804, allocations: 1.09 MB / 4.066 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001549/9.804, allocations: 95.27 kB / 4.066 GB, free: 31.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000272/9.804, allocations: 111.6 kB / 4.066 GB, free: 31.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00577/9.81, allocations: 2.292 MB / 4.068 GB, free: 30.84 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/9.81, allocations: 3.781 kB / 4.068 GB, free: 30.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/9.81, allocations: 54.95 kB / 4.068 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/9.81, allocations: 86.45 kB / 4.068 GB, free: 30.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005697/9.816, allocations: 2.39 MB / 4.071 GB, free: 30.05 MB / 0.5417 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.01334/9.829, allocations: 9.206 MB / 4.08 GB, free: 23.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005069/9.835, allocations: 1.9 MB / 4.082 GB, free: 22.81 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/9.836, allocations: 0.7854 MB / 4.082 GB, free: 22.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04653/9.883, allocations: 26.99 MB / 4.109 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.539e-05/9.883, allocations: 51.59 kB / 4.109 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001858/9.885, allocations: 210.6 kB / 4.109 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=109): time 1.18e-05/9.885, allocations: 4 kB / 4.109 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=109): time 0.02144/9.906, allocations: 4.629 MB / 4.113 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/9.906, allocations: 218.6 kB / 4.114 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/9.909, allocations: 0.9592 MB / 4.115 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004592/9.909, allocations: 49.7 kB / 4.115 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/9.91, allocations: 0.5575 MB / 4.115 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009337/9.911, allocations: 372.5 kB / 4.116 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/9.911, allocations: 28 kB / 4.116 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002716/9.911, allocations: 357.9 kB / 4.116 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/9.913, allocations: 0.6506 MB / 4.117 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/9.915, allocations: 1.017 MB / 4.118 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/9.919, allocations: 1.683 MB / 4.119 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/9.919, allocations: 4 kB / 4.119 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005143/9.924, allocations: 2.078 MB / 4.121 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003769/9.924, allocations: 377.7 kB / 4.122 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/9.925, allocations: 12 kB / 4.122 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02569/9.95, allocations: 3.089 MB / 4.125 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/9.952, allocations: 283.5 kB / 4.125 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/9.955, allocations: 1.45 MB / 4.126 GB, free: 12.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/9.957, allocations: 139.8 kB / 4.126 GB, free: 12.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/9.957, allocations: 71.97 kB / 4.127 GB, free: 12.06 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/9.957, allocations: 4 kB / 4.127 GB, free: 12.05 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004505/9.962, allocations: 1.793 MB / 4.128 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/9.962, allocations: 11.94 kB / 4.128 GB, free: 10.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008121/9.962, allocations: 200.1 kB / 4.128 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/9.964, allocations: 343.5 kB / 4.129 GB, free: 9.711 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008907/9.965, allocations: 0.7435 MB / 4.13 GB, free: 8.941 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/9.967, allocations: 139.8 kB / 4.13 GB, free: 8.805 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/9.967, allocations: 71.97 kB / 4.13 GB, free: 8.734 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001175/9.968, allocations: 438.2 kB / 4.13 GB, free: 8.297 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/9.968, allocations: 130.4 kB / 4.13 GB, free: 8.168 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008478/9.977, allocations: 5.661 MB / 4.136 GB, free: 2.477 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-05/9.977, allocations: 59.91 kB / 4.136 GB, free: 2.418 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/9.977, allocations: 0 / 4.136 GB, free: 2.418 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/9.977, allocations: 11.97 kB / 4.136 GB, free: 2.406 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5018/10.48, allocations: 7.695 MB / 4.143 GB, free: 68.22 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/10.48, allocations: 0.6875 kB / 4.143 GB, free: 68.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008628/10.48, allocations: 210.7 kB / 4.144 GB, free: 68.22 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02209/10.5, allocations: 4.039 MB / 4.148 GB, free: 68.15 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004496/10.5, allocations: 30.3 kB / 4.148 GB, free: 68.15 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00344/10.51, allocations: 2.382 MB / 4.15 GB, free: 67.61 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/10.51, allocations: 5.875 kB / 4.15 GB, free: 67.61 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006421/10.51, allocations: 3.653 MB / 4.153 GB, free: 67.31 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001546/10.51, allocations: 0.6395 MB / 4.154 GB, free: 67.18 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/10.51, allocations: 25.69 kB / 4.154 GB, free: 67.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/10.52, allocations: 129 kB / 4.154 GB, free: 67.17 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/10.52, allocations: 101.2 kB / 4.154 GB, free: 67.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/10.52, allocations: 48.5 kB / 4.154 GB, free: 67.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001653/10.52, allocations: 1.06 MB / 4.155 GB, free: 67.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.719e-06/10.52, allocations: 0 / 4.155 GB, free: 67.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01062/10.53, allocations: 1.98 MB / 4.157 GB, free: 67.04 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01163/10.54, allocations: 2.205 MB / 4.159 GB, free: 66.88 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00754/10.55, allocations: 3.022 MB / 4.162 GB, free: 66.83 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/10.55, allocations: 1.156 kB / 4.162 GB, free: 66.83 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.003117/10.55, allocations: 1.485 MB / 4.164 GB, free: 66.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004513/10.56, allocations: 0.6945 MB / 4.165 GB, free: 66.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/10.56, allocations: 5.349 MB / 4.17 GB, free: 64.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009481/10.56, allocations: 1.575 MB / 4.171 GB, free: 63.83 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/10.56, allocations: 124.4 kB / 4.171 GB, free: 63.82 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/10.56, allocations: 1.031 kB / 4.171 GB, free: 63.82 MB / 0.573 GB Notification: Performance of Templates: time 0.09534/10.66, allocations: 55.63 MB / 4.226 GB, free: 61 MB / 0.573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestExamplesVariants/InverseParameterization_turbulent/InverseParameterization_turbulent.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_turbulent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches