Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/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/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/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/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) 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 TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|add.k1|add.k2|add.u1|add.u2|add.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|sine1.duration|sine1.height|sine1.offset|sine1.startTime|sine1.y|step.height|step.offset|step.startTime|step.y|step1.height|step1.offset|step1.startTime|step1.y|variableGradientLimiter.Nd|variableGradientLimiter.constantLimits|variableGradientLimiter.maxGrad|variableGradientLimiter.maxGrad_const|variableGradientLimiter.minGrad|variableGradientLimiter.minGrad_const|variableGradientLimiter.thres|variableGradientLimiter.u|variableGradientLimiter.useThresh|variableGradientLimiter.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") translateModel(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="CPUtime|EventCounter|Time|add.k1|add.k2|add.u1|add.u2|add.y|sine.duration|sine.height|sine.offset|sine.startTime|sine.y|sine1.duration|sine1.height|sine1.offset|sine1.startTime|sine1.y|step.height|step.offset|step.startTime|step.y|step1.height|step1.offset|step1.startTime|step1.y|variableGradientLimiter.Nd|variableGradientLimiter.constantLimits|variableGradientLimiter.maxGrad|variableGradientLimiter.maxGrad_const|variableGradientLimiter.minGrad|variableGradientLimiter.minGrad_const|variableGradientLimiter.thres|variableGradientLimiter.u|variableGradientLimiter.useThresh|variableGradientLimiter.y",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.01692/0.01692, allocations: 1.435 MB / 17.07 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1219/0.1219, allocations: 22.36 MB / 40.48 MB, free: 0.5156 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 120 kB / 47.98 MB, free: 2.133 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 188.5 kB / 55.58 MB, free: 6.172 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 285.9 MB, free: 1.207 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8991/0.8991, allocations: 127.8 MB / 470.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002571/0.002571, allocations: 123.8 kB / 0.6353 GB, free: 11.21 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1693, allocations: 82.34 MB / 0.7157 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter): time 0.004003/0.1733, allocations: 2.274 MB / 0.7179 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.1748, allocations: 0.6739 MB / 0.7186 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.1749, allocations: 0 / 0.7186 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.1751, allocations: 11.86 kB / 0.7186 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.1752, allocations: 19.8 kB / 0.7186 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.1757, allocations: 111.7 kB / 0.7187 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1759, allocations: 91.64 kB / 0.7188 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.176, allocations: 41.03 kB / 0.7188 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.781e-05/0.1761, allocations: 35.84 kB / 0.7189 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.1762, allocations: 39.78 kB / 0.7189 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1762, allocations: 8 kB / 0.7189 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.1763, allocations: 8 kB / 0.7189 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.1763, allocations: 19.92 kB / 0.7189 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.1763, allocations: 43.72 kB / 0.719 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.1765, allocations: 95.56 kB / 0.7191 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1765, allocations: 4 kB / 0.7191 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.424e-06/0.1765, allocations: 0 / 0.7191 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1765, allocations: 0 / 0.7191 GB, free: 5.316 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006815/0.1772, allocations: 422.9 kB / 0.7195 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1773, allocations: 12.02 kB / 0.7195 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.1773, allocations: 12.84 kB / 0.7195 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.1775, allocations: 195.1 kB / 0.7197 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1776, allocations: 8.375 kB / 0.7197 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.1776, allocations: 8.125 kB / 0.7197 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.1779, allocations: 109.5 kB / 0.7198 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.178, allocations: 0 / 0.7198 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.178, allocations: 4 kB / 0.7198 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.178, allocations: 0 / 0.7198 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.1784, allocations: 99.89 kB / 0.7199 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.179, allocations: 372.5 kB / 0.7203 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.1793, allocations: 78.53 kB / 0.7203 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.1795, allocations: 60.92 kB / 0.7204 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1796, allocations: 0 / 0.7204 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1796, allocations: 30.56 kB / 0.7204 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1796, allocations: 4 kB / 0.7204 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007373/0.1803, allocations: 189.4 kB / 0.7206 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1804, allocations: 55.34 kB / 0.7207 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1805, allocations: 156 kB / 0.7208 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.1806, allocations: 25.7 kB / 0.7208 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.1806, allocations: 104 kB / 0.7209 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1807, allocations: 27.59 kB / 0.721 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.1807, allocations: 21.7 kB / 0.721 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1808, allocations: 318.8 kB / 0.7213 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.181, allocations: 51.94 kB / 0.7213 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.1812, allocations: 47.95 kB / 0.7214 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.1816, allocations: 104.9 kB / 0.7215 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1817, allocations: 4 kB / 0.7215 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000446/0.1821, allocations: 145.4 kB / 0.7216 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1821, allocations: 7.938 kB / 0.7216 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1821, allocations: 0 / 0.7216 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1822, allocations: 7.984 kB / 0.7216 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.1823, allocations: 27.98 kB / 0.7217 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1824, allocations: 0 / 0.7217 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1825, allocations: 19.97 kB / 0.7217 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1825, allocations: 0 / 0.7217 GB, free: 2.414 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.505e-05/0.1826, allocations: 113.8 kB / 0.7218 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.1826, allocations: 11.84 kB / 0.7218 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.1827, allocations: 16.7 kB / 0.7218 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1827, allocations: 4 kB / 0.7218 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1827, allocations: 0 / 0.7218 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1827, allocations: 0 / 0.7218 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.1829, allocations: 213.6 kB / 0.722 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.1829, allocations: 7.984 kB / 0.722 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.1831, allocations: 23.98 kB / 0.7221 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1831, allocations: 3.938 kB / 0.7221 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1831, allocations: 3.984 kB / 0.7221 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1831, allocations: 0 / 0.7221 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1831, allocations: 0 / 0.7221 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007252/0.1839, allocations: 299.3 kB / 0.7224 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.1839, allocations: 85.08 kB / 0.7224 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.184, allocations: 11.95 kB / 0.7225 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1841, allocations: 15.98 kB / 0.7225 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.1842, allocations: 11.97 kB / 0.7225 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.1842, allocations: 0 / 0.7225 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.042e-05/0.1842, allocations: 113.6 kB / 0.7226 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1842, allocations: 3.938 kB / 0.7226 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002315/0.1845, allocations: 16 kB / 0.7226 GB, free: 1.383 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (variableGradientLimiter.y_aux) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001255/0.1846, allocations: 102.4 kB / 0.7227 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000456/0.1851, allocations: 107.9 kB / 0.7228 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1851, allocations: 3.938 kB / 0.7228 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.1853, allocations: 67.89 kB / 0.7229 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.1857, allocations: 13.33 kB / 0.7229 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007848/0.1865, allocations: 235.2 kB / 0.7231 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1868, allocations: 0.7 MB / 0.7238 GB, free: 112 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.994e-05/0.1868, allocations: 7.984 kB / 0.7238 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.1869, allocations: 11.44 kB / 0.7238 GB, free: 92 kB / 0.5294 GB Notification: Performance of SimCode: time 2.11e-07/0.1869, allocations: 0 / 0.7238 GB, free: 92 kB / 0.5294 GB Notification: Performance of Templates: time 0.003584/0.1905, allocations: 1.117 MB / 0.7249 GB, free: 14.98 MB / 0.545 GB make -j1 -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.makefile (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.sim & ./ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.pipe 2>&1) diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testGradientLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches