Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.w_a.1.|body.w_a.2.|body.w_a.3.|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 95.94 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001956/0.001956, allocations: 202.3 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1449, allocations: 63.57 MB / 483.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.3512/0.4962, allocations: 37.03 MB / 0.5079 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0234/0.5196, allocations: 8.359 MB / 0.5161 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009053/0.5287, allocations: 158.5 kB / 0.5162 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.531, allocations: 0.5242 MB / 0.5168 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00674/0.5378, allocations: 1.796 MB / 0.5185 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.541, allocations: 0.5266 MB / 0.519 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.5526, allocations: 5.92 MB / 0.5248 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01014/0.5627, allocations: 4.734 MB / 0.5294 GB, free: 6.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.5675, allocations: 1.137 MB / 0.5305 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004749/0.5723, allocations: 1.973 MB / 0.5325 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001621/0.5739, allocations: 153.9 kB / 0.5326 GB, free: 4.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004277/0.5782, allocations: 1.083 MB / 0.5337 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003344/0.5816, allocations: 1.797 MB / 0.5354 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003166/0.5848, allocations: 2.147 MB / 0.5375 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009658/0.5945, allocations: 7.188 MB / 0.5445 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/0.5945, allocations: 0 / 0.5445 GB, free: 12.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.5945, allocations: 0 / 0.5445 GB, free: 12.89 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003873/0.5949, allocations: 0 / 0.5445 GB, free: 12.89 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 0.0123/0.6072, allocations: 4.378 MB / 0.5488 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6073, allocations: 8.875 kB / 0.5488 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.6192, allocations: 3.261 MB / 0.552 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005624/0.6249, allocations: 2.243 MB / 0.5542 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.6252, allocations: 261.5 kB / 0.5544 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.6265, allocations: 346.1 kB / 0.5548 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/0.6506, allocations: 12.19 MB / 0.5667 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.6508, allocations: 31.75 kB / 0.5667 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006246/0.6515, allocations: 160.3 kB / 0.5669 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004497/0.656, allocations: 2.643 MB / 0.5695 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02627/0.6822, allocations: 11.23 MB / 0.5804 GB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06809/0.7504, allocations: 39.1 MB / 0.6186 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.7631, allocations: 4.98 MB / 0.6235 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/0.7667, allocations: 2.366 MB / 0.6258 GB, free: 8.879 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.7772, allocations: 6.823 MB / 0.6324 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.7772, allocations: 56.56 kB / 0.6325 GB, free: 1.637 MB / 478.1 MB Notification: Performance of pre-optimization done (n=226): time 4.519e-06/0.7773, allocations: 0 / 0.6325 GB, free: 1.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=235): time 0.03942/0.8167, allocations: 16.2 MB / 0.6483 GB, free: 1.289 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.8168, allocations: 73.34 kB / 0.6484 GB, free: 1.203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005541/0.8223, allocations: 3.124 MB / 0.6514 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006414/0.823, allocations: 56.91 kB / 0.6515 GB, free: 14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00281/0.8258, allocations: 3.182 MB / 0.6546 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00163/0.8275, allocations: 0.8908 MB / 0.6555 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007311/0.8282, allocations: 0.5151 MB / 0.656 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8283, allocations: 305.1 kB / 0.6563 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/0.8319, allocations: 2.374 MB / 0.6586 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005803/0.8377, allocations: 5.708 MB / 0.6642 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.8485, allocations: 8.76 MB / 0.6727 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.605e-05/0.8486, allocations: 32 kB / 0.6727 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=795) (initialization): time 0.01739/0.866, allocations: 8.863 MB / 0.6814 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.622e-05/0.8661, allocations: 56 kB / 0.6814 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.8663, allocations: 116 kB / 0.6816 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003571/0.8699, allocations: 1.145 MB / 0.6827 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004671/0.8746, allocations: 1.349 MB / 0.684 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00957/0.8841, allocations: 6.514 MB / 0.6904 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/0.8889, allocations: 327.7 kB / 0.6907 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009201/0.8898, allocations: 347.9 kB / 0.691 GB, free: 1.988 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 726 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.00488/0.8947, allocations: 2.338 MB / 0.6933 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005665/0.8953, allocations: 296.1 kB / 0.6936 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007659/0.903, allocations: 4.397 MB / 0.6979 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001267/0.9031, allocations: 43.98 kB / 0.6979 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.9031, allocations: 0 / 0.6979 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.9032, allocations: 11.97 kB / 0.6979 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/0.9218, allocations: 10.33 MB / 0.708 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.9219, allocations: 4 kB / 0.708 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.9235, allocations: 375.4 kB / 0.7084 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2931/1.217, allocations: 0.6717 MB / 0.709 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006028/1.217, allocations: 50.08 kB / 0.7091 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003123/1.22, allocations: 2.424 MB / 0.7114 GB, free: 189.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/1.22, allocations: 10.56 kB / 0.7114 GB, free: 189.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.233, allocations: 6.736 MB / 0.718 GB, free: 187.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009781/1.234, allocations: 345.8 kB / 0.7183 GB, free: 187.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/1.234, allocations: 40.95 kB / 0.7184 GB, free: 187.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.235, allocations: 139.3 kB / 0.7185 GB, free: 187.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004752/1.236, allocations: 134 kB / 0.7186 GB, free: 187.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/1.236, allocations: 70 kB / 0.7187 GB, free: 187.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003614/1.24, allocations: 1.891 MB / 0.7206 GB, free: 187.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/1.24, allocations: 1.031 kB / 0.7206 GB, free: 187.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005127/1.245, allocations: 1.029 MB / 0.7216 GB, free: 187 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.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 (187): * Single equations (assignments): 178 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005229/1.245, allocations: 194.5 kB / 0.7218 GB, free: 186.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0102/1.256, allocations: 5.931 MB / 0.7275 GB, free: 184.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/1.256, allocations: 0 / 0.7275 GB, free: 184.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003745/1.259, allocations: 2.391 MB / 0.7299 GB, free: 183.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/1.264, allocations: 450.9 kB / 0.7303 GB, free: 183.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/1.281, allocations: 13.63 MB / 0.7436 GB, free: 176.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00394/1.285, allocations: 3.63 MB / 0.7472 GB, free: 175 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004396/1.289, allocations: 2.015 MB / 0.7491 GB, free: 174.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007556/1.29, allocations: 238.3 kB / 0.7494 GB, free: 174.9 MB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/1.29, allocations: 0 / 0.7494 GB, free: 174.9 MB / 0.545 GB Notification: Performance of Templates: time 0.06077/1.351, allocations: 34.88 MB / 0.7834 GB, free: 141.7 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches