Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001674/0.001674, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.3 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.11 MB / 344.3 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 76.5 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1217, allocations: 62.44 MB / 479.9 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.3045/0.4262, allocations: 96.13 MB / 0.5626 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04531/0.4716, allocations: 18.28 MB / 0.5804 GB, free: 456 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01983/0.4914, allocations: 426.9 kB / 0.5808 GB, free: 28 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.5024, allocations: 5.526 MB / 0.5862 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007804/0.5103, allocations: 2.46 MB / 0.5886 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.5132, allocations: 1.088 MB / 0.5897 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01372/0.527, allocations: 11.86 MB / 0.6013 GB, free: 11.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009202/0.5362, allocations: 6.797 MB / 0.6079 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004411/0.5407, allocations: 2.363 MB / 0.6102 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005859/0.5466, allocations: 3.906 MB / 0.614 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.5485, allocations: 416 kB / 0.6144 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.5522, allocations: 1.334 MB / 0.6157 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004149/0.5564, allocations: 3.207 MB / 0.6188 GB, free: 8.941 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006354/0.5628, allocations: 3.553 MB / 0.6223 GB, free: 5.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009747/0.5726, allocations: 9.11 MB / 0.6312 GB, free: 12.24 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5726, allocations: 0 / 0.6312 GB, free: 12.24 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5726, allocations: 0 / 0.6312 GB, free: 12.24 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004397/0.5731, allocations: 0 / 0.6312 GB, free: 12.24 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2313 * Number of variables: 2313 Notification: Performance of Generate backend data structure: time 0.02361/0.5967, allocations: 8.04 MB / 0.6391 GB, free: 4.113 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/0.5968, allocations: 8.875 kB / 0.6391 GB, free: 4.105 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.612, allocations: 3.08 MB / 0.6421 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/0.6241, allocations: 4.924 MB / 0.6469 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006471/0.6248, allocations: 394.5 kB / 0.6473 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003094/0.6279, allocations: 0.5272 MB / 0.6478 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04696/0.6749, allocations: 15.36 MB / 0.6628 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004453/0.6754, allocations: 79.3 kB / 0.6629 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/0.6771, allocations: 251.8 kB / 0.6631 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007143/0.6843, allocations: 2.801 MB / 0.6658 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03835/0.7226, allocations: 12.77 MB / 0.6783 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4814/1.204, allocations: 61.84 MB / 0.7387 GB, free: 141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/1.218, allocations: 5.641 MB / 0.7442 GB, free: 139.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004709/1.223, allocations: 3.803 MB / 0.7479 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/1.223, allocations: 42.86 kB / 0.748 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.316e-05/1.223, allocations: 64.94 kB / 0.748 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=229): time 4.889e-06/1.223, allocations: 3.188 kB / 0.748 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=262): time 0.07496/1.298, allocations: 31.32 MB / 0.7786 GB, free: 119.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/1.298, allocations: 290.5 kB / 0.7789 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01027/1.308, allocations: 7.049 MB / 0.7858 GB, free: 111.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006468/1.309, allocations: 69.61 kB / 0.7858 GB, free: 111.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002477/1.312, allocations: 4.733 MB / 0.7905 GB, free: 106.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.313, allocations: 1.02 MB / 0.7915 GB, free: 105.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002271/1.315, allocations: 1.835 MB / 0.7932 GB, free: 104.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.781e-05/1.315, allocations: 305.1 kB / 0.7935 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/1.319, allocations: 3.516 MB / 0.797 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006154/1.325, allocations: 8.722 MB / 0.8055 GB, free: 89.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/1.336, allocations: 13.1 MB / 0.8183 GB, free: 73.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001363/1.336, allocations: 52 kB / 0.8183 GB, free: 73.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02244/1.359, allocations: 13.99 MB / 0.832 GB, free: 59.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000181/1.359, allocations: 84.97 kB / 0.8321 GB, free: 59.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/1.359, allocations: 180 kB / 0.8323 GB, free: 59.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005495/1.365, allocations: 2.298 MB / 0.8345 GB, free: 56.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006412/1.371, allocations: 2.073 MB / 0.8365 GB, free: 54.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/1.387, allocations: 14.53 MB / 0.8507 GB, free: 39.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007327/1.394, allocations: 0.4954 MB / 0.8512 GB, free: 39.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/1.396, allocations: 0.5234 MB / 0.8517 GB, free: 38.79 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 830 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,worldTorque1.arrow.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1082): * Single equations (assignments): 1076 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,23,100.0%), (1,14,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006585/1.403, allocations: 3.183 MB / 0.8548 GB, free: 35.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001493/1.404, allocations: 0.5784 MB / 0.8554 GB, free: 35.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.416, allocations: 6.722 MB / 0.8619 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.981e-05/1.416, allocations: 31.94 kB / 0.862 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-05/1.416, allocations: 8 kB / 0.862 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/1.416, allocations: 15.95 kB / 0.862 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.442, allocations: 14.42 MB / 0.8761 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-05/1.442, allocations: 7.938 kB / 0.8761 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/1.444, allocations: 467.3 kB / 0.8765 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004702/1.449, allocations: 2.007 MB / 0.8785 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004441/1.449, allocations: 44 kB / 0.8785 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/1.464, allocations: 13.54 MB / 0.8918 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.464, allocations: 0 / 0.8918 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/1.482, allocations: 10.72 MB / 0.9022 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/1.484, allocations: 0.6458 MB / 0.9029 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/1.485, allocations: 44.66 kB / 0.9029 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/1.488, allocations: 183.7 kB / 0.9031 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006716/1.489, allocations: 161.5 kB / 0.9032 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002322/1.489, allocations: 67.98 kB / 0.9033 GB, free: 1.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00797/1.497, allocations: 4.487 MB / 0.9077 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.21e-07/1.497, allocations: 0 / 0.9077 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008954/1.506, allocations: 1.657 MB / 0.9093 GB, free: 11.27 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (204): * Single equations (assignments): 198 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,18,75.0%), (1,11,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007443/1.507, allocations: 181.7 kB / 0.9095 GB, free: 11.09 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01398/1.521, allocations: 8.607 MB / 0.9179 GB, free: 2.477 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.521, allocations: 0 / 0.9179 GB, free: 2.477 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.2315/1.752, allocations: 3.18 MB / 0.921 GB, free: 196.7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006063/1.758, allocations: 0.7674 MB / 0.9217 GB, free: 196.6 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/1.793, allocations: 19.05 MB / 0.9403 GB, free: 189.1 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00772/1.801, allocations: 4.802 MB / 0.945 GB, free: 187.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/1.803, allocations: 449.7 kB / 0.9454 GB, free: 187.4 MB / 0.5607 GB Notification: Performance of SimCode: time 7.72e-07/1.803, allocations: 3.844 kB / 0.9455 GB, free: 187.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.1799/1.983, allocations: 180.1 MB / 1.121 GB, free: 19.9 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces/WorldForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches