Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 113.4 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.84 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2731, allocations: 53.32 MB / 422.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01313/0.2862, allocations: 10.75 MB / 433 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007885/0.2941, allocations: 3.974 MB / 437 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.2956, allocations: 63.75 kB / 437.1 MB, free: 9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005047/0.3007, allocations: 2.597 MB / 439.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004525/0.3052, allocations: 1.778 MB / 441.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.3069, allocations: 0.6824 MB / 442.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005913/0.3129, allocations: 3.711 MB / 445.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004543/0.3174, allocations: 2.968 MB / 448.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.3204, allocations: 1.464 MB / 450.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003803/0.3242, allocations: 2.11 MB / 452.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009719/0.3252, allocations: 316 kB / 452.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.3279, allocations: 1.178 MB / 453.9 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002385/0.3303, allocations: 1.854 MB / 455.7 MB, free: 6.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003437/0.3337, allocations: 2.128 MB / 457.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.345, allocations: 6.664 MB / 464.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.345, allocations: 4 kB / 464.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.345, allocations: 0 / 464.5 MB, free: 13.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003846/0.3454, allocations: 0 / 464.5 MB, free: 13.41 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01427/0.3597, allocations: 4.659 MB / 469.2 MB, free: 8.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.3597, allocations: 11.97 kB / 469.2 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007896/0.3676, allocations: 1.96 MB / 471.1 MB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004746/0.3724, allocations: 1.994 MB / 473.1 MB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.3726, allocations: 258.2 kB / 473.4 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.3738, allocations: 387.7 kB / 473.8 MB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0198/0.3936, allocations: 10.12 MB / 483.9 MB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.552e-05/0.3937, allocations: 39.64 kB / 483.9 MB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000427/0.3942, allocations: 159.8 kB / 484.1 MB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002943/0.3971, allocations: 1.861 MB / 485.9 MB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/0.4148, allocations: 8.367 MB / 494.3 MB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05084/0.4656, allocations: 39.3 MB / 0.5211 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.4764, allocations: 3.91 MB / 0.5249 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002193/0.4786, allocations: 1.338 MB / 0.5262 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.4901, allocations: 7.734 MB / 0.5338 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/0.4902, allocations: 51.56 kB / 0.5338 GB, free: 8.617 MB / 462.1 MB Notification: Performance of pre-optimization done (n=152): time 4.238e-06/0.4902, allocations: 0 / 0.5338 GB, free: 8.617 MB / 462.1 MB Notification: Performance of matching and sorting (n=159): time 0.2606/0.7508, allocations: 12.69 MB / 0.5462 GB, free: 115 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009533/0.7518, allocations: 1.672 MB / 0.5479 GB, free: 113.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00476/0.7565, allocations: 3.826 MB / 0.5516 GB, free: 112 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.7568, allocations: 49.55 kB / 0.5516 GB, free: 112 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.7581, allocations: 3.23 MB / 0.5548 GB, free: 109.9 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005354/0.7586, allocations: 0.6815 MB / 0.5555 GB, free: 109.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001112/0.7598, allocations: 1.261 MB / 0.5567 GB, free: 108.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.7598, allocations: 309 kB / 0.557 GB, free: 108.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/0.7622, allocations: 2.052 MB / 0.559 GB, free: 107.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003624/0.7658, allocations: 5.982 MB / 0.5648 GB, free: 101.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006404/0.7722, allocations: 8.654 MB / 0.5733 GB, free: 93.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-05/0.7723, allocations: 40 kB / 0.5733 GB, free: 93.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01863/0.7909, allocations: 9.841 MB / 0.5829 GB, free: 84.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/0.791, allocations: 67.94 kB / 0.583 GB, free: 84.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01018/0.8011, allocations: 3.84 MB / 0.5867 GB, free: 80.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.8118, allocations: 2.726 MB / 0.5894 GB, free: 77.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003791/0.8156, allocations: 1.368 MB / 0.5907 GB, free: 76.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.8286, allocations: 11.58 MB / 0.602 GB, free: 64.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004463/0.8331, allocations: 415.3 kB / 0.6024 GB, free: 63.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006348/0.8337, allocations: 384 kB / 0.6028 GB, free: 63.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.002446/0.8362, allocations: 2.006 MB / 0.6048 GB, free: 61.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000514/0.8367, allocations: 351.6 kB / 0.6051 GB, free: 61.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006259/0.8373, allocations: 432.4 kB / 0.6055 GB, free: 60.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00509/0.8424, allocations: 2.715 MB / 0.6082 GB, free: 57.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.8424, allocations: 5.688 kB / 0.6082 GB, free: 57.97 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.8424, allocations: 7.922 kB / 0.6082 GB, free: 57.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.8552, allocations: 8.579 MB / 0.6166 GB, free: 49.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.8552, allocations: 3.984 kB / 0.6166 GB, free: 49.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000783/0.856, allocations: 191.7 kB / 0.6167 GB, free: 49.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003914/0.8599, allocations: 1.459 MB / 0.6182 GB, free: 47.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.86, allocations: 35.97 kB / 0.6182 GB, free: 47.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009656/0.8697, allocations: 9.819 MB / 0.6278 GB, free: 37.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006627/0.8703, allocations: 1.547 MB / 0.6293 GB, free: 35.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007529/0.8778, allocations: 5.377 MB / 0.6346 GB, free: 30.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007926/0.8786, allocations: 382.7 kB / 0.6349 GB, free: 29.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/0.879, allocations: 40.11 kB / 0.635 GB, free: 29.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.8803, allocations: 123.8 kB / 0.6351 GB, free: 29.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003059/0.8806, allocations: 108.8 kB / 0.6352 GB, free: 29.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.917e-05/0.8807, allocations: 51.56 kB / 0.6352 GB, free: 29.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002603/0.8833, allocations: 2.333 MB / 0.6375 GB, free: 27.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8833, allocations: 0 / 0.6375 GB, free: 27.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004518/0.8878, allocations: 1.075 MB / 0.6386 GB, free: 26.19 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003531/0.8881, allocations: 172.2 kB / 0.6387 GB, free: 26.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007724/0.8959, allocations: 5.557 MB / 0.6441 GB, free: 20.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.8959, allocations: 4.062 kB / 0.6441 GB, free: 20.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003305/0.8992, allocations: 2.24 MB / 0.6463 GB, free: 18.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.9012, allocations: 386.4 kB / 0.6467 GB, free: 17.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.9132, allocations: 9.171 MB / 0.6557 GB, free: 8.484 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/0.9157, allocations: 3.127 MB / 0.6587 GB, free: 5.324 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003271/0.9189, allocations: 1.803 MB / 0.6605 GB, free: 3.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.9194, allocations: 227.3 kB / 0.6607 GB, free: 3.289 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.9194, allocations: 0 / 0.6607 GB, free: 3.289 MB / 462.1 MB Notification: Performance of Templates: time 0.07957/0.9989, allocations: 40.47 MB / 0.7002 GB, free: 11.06 MB / 0.4981 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches