Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001373, allocations: 173.2 kB / 17.4 MB, free: 4.391 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.7 MB / 243.9 MB, free: 10.19 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007428/0.0007427, allocations: 91.78 kB / 295.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3526/0.3526, allocations: 44.32 MB / 390.5 MB, free: 38.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 12 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3834, allocations: 61.9 MB / 0.5127 GB, free: 38.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.04828/0.4317, allocations: 62.28 MB / 0.5736 GB, free: 9.91 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03835/0.4701, allocations: 17.35 MB / 0.5905 GB, free: 12.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01886/0.489, allocations: 303.2 kB / 0.5908 GB, free: 11.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003138/0.4922, allocations: 0.5938 MB / 0.5914 GB, free: 11.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.5028, allocations: 2.48 MB / 0.5938 GB, free: 9.543 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004544/0.5074, allocations: 1.268 MB / 0.595 GB, free: 8.586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02181/0.5292, allocations: 11.67 MB / 0.6064 GB, free: 13.03 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02092/0.5502, allocations: 11.47 MB / 0.6176 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005582/0.5558, allocations: 2.187 MB / 0.6198 GB, free: 14.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006936/0.5628, allocations: 3.36 MB / 0.623 GB, free: 11.38 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.564, allocations: 240 kB / 0.6233 GB, free: 11.14 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004329/0.5683, allocations: 1.459 MB / 0.6247 GB, free: 9.688 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004504/0.5729, allocations: 2.844 MB / 0.6275 GB, free: 6.836 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006228/0.5791, allocations: 3.177 MB / 0.6306 GB, free: 3.633 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01753/0.5967, allocations: 11.15 MB / 0.6415 GB, free: 8.441 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.5967, allocations: 3.938 kB / 0.6415 GB, free: 8.438 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5967, allocations: 0 / 0.6415 GB, free: 8.438 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004072/0.5972, allocations: 0 / 0.6415 GB, free: 8.438 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02085/0.618, allocations: 6.521 MB / 0.6478 GB, free: 1.836 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.6181, allocations: 8.031 kB / 0.6478 GB, free: 1.828 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02006/0.6382, allocations: 3.116 MB / 0.6509 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/0.6562, allocations: 5.01 MB / 0.6558 GB, free: 9.609 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006633/0.6569, allocations: 378.2 kB / 0.6561 GB, free: 9.238 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00374/0.6606, allocations: 0.5152 MB / 0.6566 GB, free: 8.723 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04734/0.708, allocations: 15.52 MB / 0.6718 GB, free: 8.301 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004388/0.7085, allocations: 67.42 kB / 0.6719 GB, free: 8.234 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002014/0.7106, allocations: 235.8 kB / 0.6721 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005972/0.7166, allocations: 2.548 MB / 0.6746 GB, free: 5.453 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3753/1.092, allocations: 13.08 MB / 0.6874 GB, free: 124.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07067/1.163, allocations: 57.56 MB / 0.7436 GB, free: 86.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01587/1.179, allocations: 6.417 MB / 0.7498 GB, free: 83.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003805/1.182, allocations: 3.434 MB / 0.7532 GB, free: 81.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01524/1.198, allocations: 11.58 MB / 0.7645 GB, free: 70.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/1.198, allocations: 64.56 kB / 0.7646 GB, free: 70.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 5.761e-06/1.198, allocations: 0 / 0.7646 GB, free: 70.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=343): time 0.1152/1.313, allocations: 39.56 MB / 0.8032 GB, free: 30.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/1.313, allocations: 247.8 kB / 0.8034 GB, free: 30.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00704/1.32, allocations: 5.66 MB / 0.809 GB, free: 24.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008048/1.321, allocations: 81.7 kB / 0.809 GB, free: 24.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002519/1.324, allocations: 4.35 MB / 0.8133 GB, free: 20.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001561/1.325, allocations: 1.255 MB / 0.8145 GB, free: 18.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004549/1.326, allocations: 177.2 kB / 0.8147 GB, free: 18.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003302/1.326, allocations: 0.666 MB / 0.8153 GB, free: 18.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005351/1.331, allocations: 4.05 MB / 0.8193 GB, free: 14.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006878/1.338, allocations: 8.629 MB / 0.8277 GB, free: 3.219 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01692/1.355, allocations: 13.53 MB / 0.8409 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001542/1.355, allocations: 47.94 kB / 0.841 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.05689/1.412, allocations: 16.31 MB / 0.8569 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/1.412, allocations: 72 kB / 0.857 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002867/1.413, allocations: 156 kB / 0.8571 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02728/1.44, allocations: 4.289 MB / 0.8613 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01247/1.453, allocations: 1.903 MB / 0.8632 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2953/1.748, allocations: 20.15 MB / 0.8828 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006521/1.754, allocations: 0.5085 MB / 0.8833 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001063/1.756, allocations: 486.6 kB / 0.8838 GB, free: 155.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (1031): * Single equations (assignments): 1027 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005321/1.761, allocations: 3.126 MB / 0.8868 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000929/1.762, allocations: 0.5163 MB / 0.8873 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/1.78, allocations: 10.08 MB / 0.8972 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.763e-05/1.78, allocations: 34.28 kB / 0.8972 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/1.78, allocations: 19.09 kB / 0.8972 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.456e-05/1.78, allocations: 17.89 kB / 0.8973 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03726/1.817, allocations: 20.14 MB / 0.9169 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-05/1.817, allocations: 7.781 kB / 0.9169 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.82, allocations: 0.4985 MB / 0.9174 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0113/1.831, allocations: 3.846 MB / 0.9212 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004327/1.831, allocations: 68.42 kB / 0.9212 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02114/1.853, allocations: 17.78 MB / 0.9386 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.853, allocations: 11.94 kB / 0.9386 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02204/1.875, allocations: 14.87 MB / 0.9531 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/1.876, allocations: 0.5836 MB / 0.9537 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009004/1.877, allocations: 65.25 kB / 0.9538 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002572/1.88, allocations: 231.7 kB / 0.954 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007141/1.88, allocations: 229.8 kB / 0.9542 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002371/1.881, allocations: 92.86 kB / 0.9543 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00436/1.885, allocations: 3.561 MB / 0.9578 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/1.885, allocations: 0 / 0.9578 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006381/1.891, allocations: 1.787 MB / 0.9595 GB, free: 111.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.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 (261): * Single equations (assignments): 257 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000663/1.892, allocations: 264.2 kB / 0.9598 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01165/1.904, allocations: 9.764 MB / 0.9693 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.904, allocations: 0 / 0.9693 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004302/1.908, allocations: 3.782 MB / 0.973 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008456/1.917, allocations: 0.6819 MB / 0.9737 GB, free: 97.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/1.939, allocations: 19.21 MB / 0.9924 GB, free: 78.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004321/1.944, allocations: 4.829 MB / 0.9972 GB, free: 73.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005975/1.95, allocations: 2.573 MB / 0.9997 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.951, allocations: 347.4 kB / 1 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/1.951, allocations: 0 / 1 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.1043/2.055, allocations: 74.34 MB / 1.073 GB, free: 12.41 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches