Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.conf.json 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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) Running command: translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.1..|der.x.200..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.1.|x.200.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200") translateModel(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="der.x.1..|der.x.200..|der.x.2..|der.x.3..|der.x.4..|der.x.5..|time|time|x.1.|x.200.|x.2.|x.3.|x.4.|x.5.",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 106.9 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.866/0.866, allocations: 119.3 MB / 411.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 0.4922 GB, free: 12.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4779, allocations: 80.68 MB / 0.571 GB, free: 43.86 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200): time 0.001957/0.4799, allocations: 1.254 MB / 0.5722 GB, free: 42.88 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.48, allocations: 17.69 kB / 0.5723 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.4801, allocations: 0 / 0.5723 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 7.3e-05/0.4802, allocations: 9.266 kB / 0.5723 GB, free: 42.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 3.477e-05/0.4802, allocations: 3.984 kB / 0.5723 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.4803, allocations: 6.656 kB / 0.5723 GB, free: 42.85 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.4809, allocations: 0.9305 MB / 0.5732 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.904e-05/0.481, allocations: 8.438 kB / 0.5732 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.4812, allocations: 340.2 kB / 0.5735 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.4816, allocations: 393.4 kB / 0.5739 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.4818, allocations: 49.53 kB / 0.5739 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.4819, allocations: 50.5 kB / 0.574 GB, free: 42.02 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.4821, allocations: 335.5 kB / 0.5743 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.4824, allocations: 362.5 kB / 0.5747 GB, free: 41.59 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.4827, allocations: 475.9 kB / 0.5751 GB, free: 41.35 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4827, allocations: 4 kB / 0.5751 GB, free: 41.34 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.91e-07/0.4828, allocations: 0 / 0.5751 GB, free: 41.34 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.4828, allocations: 0 / 0.5751 GB, free: 41.34 MB / 462.3 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002742/0.4855, allocations: 1.475 MB / 0.5766 GB, free: 40.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4856, allocations: 13.28 kB / 0.5766 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.4857, allocations: 84.72 kB / 0.5766 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.4862, allocations: 385.5 kB / 0.577 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.4863, allocations: 58.47 kB / 0.5771 GB, free: 40.01 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.4865, allocations: 172.8 kB / 0.5772 GB, free: 39.92 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.4879, allocations: 1.009 MB / 0.5782 GB, free: 39.35 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.4879, allocations: 4.172 kB / 0.5782 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.418e-05/0.488, allocations: 35 kB / 0.5783 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.4881, allocations: 18.41 kB / 0.5783 GB, free: 39.32 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008179/0.4889, allocations: 0.5939 MB / 0.5789 GB, free: 39.04 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.4915, allocations: 1.863 MB / 0.5807 GB, free: 38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.4943, allocations: 2.181 MB / 0.5828 GB, free: 37.04 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008856/0.4952, allocations: 0.6864 MB / 0.5835 GB, free: 36.72 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 8.059e-05/0.4953, allocations: 25.92 kB / 0.5835 GB, free: 36.72 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.4953, allocations: 54.91 kB / 0.5836 GB, free: 36.66 MB / 462.3 MB Notification: Performance of pre-optimization done (n=200): time 3.306e-06/0.4954, allocations: 5.25 kB / 0.5836 GB, free: 36.66 MB / 462.3 MB Notification: Performance of matching and sorting (n=200): time 0.002689/0.498, allocations: 2.272 MB / 0.5858 GB, free: 34.45 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.4981, allocations: 77.39 kB / 0.5859 GB, free: 34.36 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.4982, allocations: 97.86 kB / 0.5859 GB, free: 34.25 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.285e-05/0.4982, allocations: 57.7 kB / 0.586 GB, free: 34.19 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.4983, allocations: 87.2 kB / 0.5861 GB, free: 34.1 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.4986, allocations: 0.94 MB / 0.587 GB, free: 33.15 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004376/0.4991, allocations: 499.3 kB / 0.5875 GB, free: 32.65 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.613e-05/0.4991, allocations: 310 kB / 0.5878 GB, free: 32.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.5004, allocations: 1.189 MB / 0.5889 GB, free: 31.15 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.5018, allocations: 1.42 MB / 0.5903 GB, free: 29.72 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/0.5045, allocations: 2.447 MB / 0.5927 GB, free: 27.25 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.5045, allocations: 0 / 0.5927 GB, free: 27.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.00317/0.5077, allocations: 3.166 MB / 0.5958 GB, free: 24.06 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5077, allocations: 4.625 kB / 0.5958 GB, free: 24.06 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5077, allocations: 4.031 kB / 0.5958 GB, free: 24.05 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.5078, allocations: 12 kB / 0.5958 GB, free: 24.04 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.5105, allocations: 1.026 MB / 0.5968 GB, free: 23.02 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/0.5105, allocations: 12 kB / 0.5968 GB, free: 23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006567/0.5112, allocations: 309.4 kB / 0.5971 GB, free: 22.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.5113, allocations: 88 kB / 0.5972 GB, free: 22.61 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (401): * Single equations (assignments): 401 * 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 0.0003298/0.5116, allocations: 325 kB / 0.5975 GB, free: 22.29 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.5118, allocations: 75.25 kB / 0.5976 GB, free: 22.21 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.512, allocations: 162.9 kB / 0.5977 GB, free: 22.05 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.5121, allocations: 24 kB / 0.5978 GB, free: 22.03 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.5121, allocations: 0 / 0.5978 GB, free: 22.03 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.5121, allocations: 11.95 kB / 0.5978 GB, free: 22.02 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.5131, allocations: 0.9507 MB / 0.5987 GB, free: 21.01 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5131, allocations: 7.938 kB / 0.5987 GB, free: 21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004552/0.5177, allocations: 1.019 MB / 0.5997 GB, free: 19.98 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.5177, allocations: 8 kB / 0.5997 GB, free: 19.98 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.5179, allocations: 123.9 kB / 0.5998 GB, free: 19.86 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.5179, allocations: 4 kB / 0.5998 GB, free: 19.85 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5179, allocations: 8 kB / 0.5999 GB, free: 19.84 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.5205, allocations: 2.586 MB / 0.6024 GB, free: 17.23 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.5206, allocations: 159.9 kB / 0.6025 GB, free: 17.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.5208, allocations: 111.9 kB / 0.6026 GB, free: 16.94 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/0.5214, allocations: 135.8 kB / 0.6028 GB, free: 16.81 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.5216, allocations: 113.8 kB / 0.6029 GB, free: 16.7 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.684e-05/0.5217, allocations: 59.95 kB / 0.6029 GB, free: 16.64 MB / 462.3 MB Notification: Performance of sorting global known variables: time 2.265e-05/0.5217, allocations: 79.28 kB / 0.603 GB, free: 16.56 MB / 462.3 MB Notification: Performance of sort global known variables: time 1e-07/0.5217, allocations: 0 / 0.603 GB, free: 16.56 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006603/0.5224, allocations: 420 kB / 0.6034 GB, free: 16.15 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 200 (x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15],x[16],x[17],x[18],x[19],x[20],x[21],x[22],x[23],x[24],x[25],x[26],x[27],x[28],x[29],x[30],x[31],x[32],x[33],x[34],x[35],x[36],x[37],x[38],x[39],x[40],x[41],x[42],x[43],x[44],x[45],x[46],x[47],x[48],x[49],x[50],x[51],x[52],x[53],x[54],x[55],x[56],x[57],x[58],x[59],x[60],x[61],x[62],x[63],x[64],x[65],x[66],x[67],x[68],x[69],x[70],x[71],x[72],x[73],x[74],x[75],x[76],x[77],x[78],x[79],x[80],x[81],x[82],x[83],x[84],x[85],x[86],x[87],x[88],x[89],x[90],x[91],x[92],x[93],x[94],x[95],x[96],x[97],x[98],x[99],x[100],x[101],x[102],x[103],x[104],x[105],x[106],x[107],x[108],x[109],x[110],x[111],x[112],x[113],x[114],x[115],x[116],x[117],x[118],x[119],x[120],x[121],x[122],x[123],x[124],x[125],x[126],x[127],x[128],x[129],x[130],x[131],x[132],x[133],x[134],x[135],x[136],x[137],x[138],x[139],x[140],x[141],x[142],x[143],x[144],x[145],x[146],x[147],x[148],x[149],x[150],x[151],x[152],x[153],x[154],x[155],x[156],x[157],x[158],x[159],x[160],x[161],x[162],x[163],x[164],x[165],x[166],x[167],x[168],x[169],x[170],x[171],x[172],x[173],x[174],x[175],x[176],x[177],x[178],x[179],x[180],x[181],x[182],x[183],x[184],x[185],x[186],x[187],x[188],x[189],x[190],x[191],x[192],x[193],x[194],x[195],x[196],x[197],x[198],x[199],x[200]) * 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 (200): * Single equations (assignments): 200 * 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.0002474/0.5227, allocations: 268.1 kB / 0.6037 GB, free: 15.88 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.525, allocations: 2.354 MB / 0.606 GB, free: 13.52 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5251, allocations: 4.062 kB / 0.606 GB, free: 13.52 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008802/0.5259, allocations: 0.8778 MB / 0.6068 GB, free: 12.64 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.5264, allocations: 71.81 kB / 0.6069 GB, free: 12.57 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.5298, allocations: 5.395 MB / 0.6122 GB, free: 7.125 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.5302, allocations: 1.148 MB / 0.6133 GB, free: 5.945 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/0.5307, allocations: 111.4 kB / 0.6134 GB, free: 5.836 MB / 462.3 MB Notification: Performance of SimCode: time 4.61e-07/0.5308, allocations: 0 / 0.6134 GB, free: 5.836 MB / 462.3 MB Notification: Performance of Templates: time 0.02567/0.5564, allocations: 20.73 MB / 0.6336 GB, free: 1.102 MB / 478.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200 -s=ida -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.SimpleODE.ScaledExperiments.CascadedFirstOrder_N_200.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches