Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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/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 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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001094/0.001094, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.273/1.273, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.48 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1224, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.01599/0.1385, allocations: 15.04 MB / 484.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.1495, allocations: 4.829 MB / 489.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/0.1525, allocations: 91.75 kB / 489.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006345/0.1589, allocations: 3.157 MB / 492.5 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008134/0.1671, allocations: 2.552 MB / 495 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.1698, allocations: 0.9866 MB / 496 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01089/0.1807, allocations: 6.97 MB / 0.4912 GB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005661/0.1864, allocations: 4.385 MB / 0.4955 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/0.1904, allocations: 2.215 MB / 0.4976 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004734/0.1951, allocations: 3.252 MB / 0.5008 GB, free: 2.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.1969, allocations: 488 kB / 0.5013 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.2008, allocations: 1.498 MB / 0.5028 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2942/0.495, allocations: 2.861 MB / 0.5055 GB, free: 19.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007543/0.5026, allocations: 3.321 MB / 0.5088 GB, free: 18.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02052/0.5232, allocations: 10.22 MB / 0.5188 GB, free: 17.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.5232, allocations: 0 / 0.5188 GB, free: 17.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5232, allocations: 0 / 0.5188 GB, free: 17.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003967/0.5236, allocations: 0 / 0.5188 GB, free: 17.52 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.02523/0.5489, allocations: 7.509 MB / 0.5261 GB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5489, allocations: 8.312 kB / 0.5261 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004528/0.5535, allocations: 1.138 MB / 0.5272 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04475/0.5983, allocations: 7.474 MB / 0.5345 GB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.6101, allocations: 4.842 MB / 0.5392 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.6104, allocations: 319.9 kB / 0.5395 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/0.6128, allocations: 438 kB / 0.54 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/0.6399, allocations: 15.63 MB / 0.5552 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/0.6401, allocations: 61.02 kB / 0.5553 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007744/0.6409, allocations: 202.4 kB / 0.5555 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005238/0.6461, allocations: 3.219 MB / 0.5586 GB, free: 7.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02807/0.6742, allocations: 13.94 MB / 0.5722 GB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08138/0.7556, allocations: 57.37 MB / 0.6283 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/0.769, allocations: 6.519 MB / 0.6346 GB, free: 8.723 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004598/0.7737, allocations: 3.621 MB / 0.6382 GB, free: 5.094 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01992/0.7936, allocations: 14.43 MB / 0.6523 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.7937, allocations: 64.5 kB / 0.6523 GB, free: 6.156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=289): time 6.522e-06/0.7937, allocations: 0 / 0.6523 GB, free: 6.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.155/0.9487, allocations: 41.76 MB / 0.6931 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.9488, allocations: 218 kB / 0.6933 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/0.9624, allocations: 5.483 MB / 0.6987 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001159/0.9636, allocations: 77.69 kB / 0.6987 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005406/0.9691, allocations: 4.414 MB / 0.703 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002661/0.9718, allocations: 1.252 MB / 0.7043 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2495/1.221, allocations: 1.772 MB / 0.706 GB, free: 187.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.222, allocations: 303.3 kB / 0.7063 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01147/1.233, allocations: 4.646 MB / 0.7108 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01146/1.244, allocations: 9.616 MB / 0.7202 GB, free: 179.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01663/1.261, allocations: 15.3 MB / 0.7352 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001867/1.261, allocations: 54.19 kB / 0.7352 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.04473/1.306, allocations: 19 MB / 0.7538 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/1.306, allocations: 80 kB / 0.7538 GB, free: 156.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/1.307, allocations: 172.7 kB / 0.754 GB, free: 156.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02176/1.328, allocations: 5.78 MB / 0.7596 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007162/1.335, allocations: 2.074 MB / 0.7617 GB, free: 149.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02786/1.363, allocations: 25.65 MB / 0.7867 GB, free: 123.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009245/1.373, allocations: 0.5447 MB / 0.7873 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/1.375, allocations: 0.5039 MB / 0.7877 GB, free: 122.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1050 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006338/1.381, allocations: 3.096 MB / 0.7908 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/1.382, allocations: 0.4953 MB / 0.7913 GB, free: 119.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02867/1.411, allocations: 12.68 MB / 0.8036 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.508e-05/1.411, allocations: 56.61 kB / 0.8037 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.411, allocations: 8 kB / 0.8037 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-05/1.411, allocations: 19.94 kB / 0.8037 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04882/1.46, allocations: 24.36 MB / 0.8275 GB, free: 81.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.148e-05/1.46, allocations: 9.281 kB / 0.8275 GB, free: 81.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003373/1.464, allocations: 0.5772 MB / 0.8281 GB, free: 81.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01865/1.482, allocations: 4.809 MB / 0.8328 GB, free: 76.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001014/1.483, allocations: 59.98 kB / 0.8328 GB, free: 76.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/1.506, allocations: 20.91 MB / 0.8533 GB, free: 55.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.506, allocations: 9.031 kB / 0.8533 GB, free: 55.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03287/1.539, allocations: 17.11 MB / 0.87 GB, free: 38.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/1.541, allocations: 0.5257 MB / 0.8705 GB, free: 37.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/1.542, allocations: 52 kB / 0.8705 GB, free: 37.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003426/1.546, allocations: 269.3 kB / 0.8708 GB, free: 37.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008389/1.546, allocations: 189.6 kB / 0.871 GB, free: 37.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002986/1.547, allocations: 87.98 kB / 0.8711 GB, free: 37.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006055/1.553, allocations: 3.42 MB / 0.8744 GB, free: 33.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.41e-07/1.553, allocations: 1.594 kB / 0.8744 GB, free: 33.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01009/1.563, allocations: 1.715 MB / 0.8761 GB, free: 31.94 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03312/1.596, allocations: 17.79 MB / 0.8935 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.2777/1.874, allocations: 15.41 MB / 0.9085 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.027e-05/1.874, allocations: 1.531 kB / 0.9085 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007563/1.882, allocations: 4.052 MB / 0.9125 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00556/1.887, allocations: 0.6498 MB / 0.9131 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1503/2.037, allocations: 98.48 MB / 1.009 GB, free: 84.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0066/2.044, allocations: 4.623 MB / 1.014 GB, free: 80.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007323/2.051, allocations: 2.994 MB / 1.017 GB, free: 77.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00515/2.057, allocations: 2.921 MB / 1.02 GB, free: 74.35 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/2.057, allocations: 0 / 1.02 GB, free: 74.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7565/2.813, allocations: 130.8 MB / 1.147 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/17.13, allocations: 4 kB / 1.147 GB, free: 144.6 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches