Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 114.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 200.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2246/0.2246, allocations: 46.11 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 71.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1256, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.01441/0.14, allocations: 14.54 MB / 496 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.1502, allocations: 4.917 MB / 0.4892 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002977/0.1532, allocations: 103.6 kB / 0.4893 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008689/0.162, allocations: 4.735 MB / 0.4939 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007077/0.1691, allocations: 2.389 MB / 0.4962 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.172, allocations: 1.143 MB / 0.4974 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01011/0.1821, allocations: 6.712 MB / 0.5039 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2594/0.4416, allocations: 5.73 MB / 0.5095 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00488/0.4465, allocations: 2.332 MB / 0.5118 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006206/0.4528, allocations: 3.089 MB / 0.5148 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002629/0.4554, allocations: 0.4972 MB / 0.5153 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005843/0.4613, allocations: 1.526 MB / 0.5168 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005258/0.4666, allocations: 2.87 MB / 0.5196 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007893/0.4745, allocations: 3.248 MB / 0.5228 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01554/0.4901, allocations: 10.21 MB / 0.5327 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.4901, allocations: 0 / 0.5327 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.4902, allocations: 0 / 0.5327 GB, free: 7.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005428/0.4907, allocations: 5.969 kB / 0.5327 GB, free: 7.969 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: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.01941/0.5101, allocations: 7.187 MB / 0.5398 GB, free: 3.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5102, allocations: 10.8 kB / 0.5398 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.5207, allocations: 2.651 MB / 0.5424 GB, free: 1.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.5321, allocations: 4.172 MB / 0.5464 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/0.5325, allocations: 355 kB / 0.5468 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00225/0.5348, allocations: 475.8 kB / 0.5472 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02887/0.5637, allocations: 14.49 MB / 0.5614 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002384/0.564, allocations: 66.19 kB / 0.5614 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006509/0.5646, allocations: 225.3 kB / 0.5616 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004819/0.5694, allocations: 2.638 MB / 0.5642 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02377/0.5932, allocations: 12.37 MB / 0.5763 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0713/0.6646, allocations: 55.32 MB / 0.6303 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01469/0.6793, allocations: 5.79 MB / 0.636 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004732/0.6841, allocations: 3.639 MB / 0.6395 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01566/0.6998, allocations: 8.152 MB / 0.6475 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.776e-05/0.6999, allocations: 66.94 kB / 0.6476 GB, free: 7.027 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 5.56e-06/0.6999, allocations: 0 / 0.6476 GB, free: 7.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=269): time 0.07688/0.7768, allocations: 30.87 MB / 0.6777 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.7769, allocations: 234.2 kB / 0.6779 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/0.787, allocations: 6.322 MB / 0.6841 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001009/0.788, allocations: 68.83 kB / 0.6842 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003769/0.7918, allocations: 4.195 MB / 0.6883 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001973/0.7938, allocations: 1.028 MB / 0.6893 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002631/0.7964, allocations: 1.676 MB / 0.6909 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7966, allocations: 305.1 kB / 0.6912 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004885/0.8015, allocations: 3.428 MB / 0.6946 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00774/0.8092, allocations: 8.072 MB / 0.7024 GB, free: 12.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.283/1.092, allocations: 12.35 MB / 0.7145 GB, free: 181.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001978/1.092, allocations: 49.5 kB / 0.7145 GB, free: 181.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1063) (initialization): time 0.03015/1.123, allocations: 13.34 MB / 0.7276 GB, free: 178.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/1.123, allocations: 78.97 kB / 0.7277 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002837/1.123, allocations: 163.1 kB / 0.7278 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006447/1.13, allocations: 2.266 MB / 0.73 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006718/1.136, allocations: 1.86 MB / 0.7318 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/1.152, allocations: 14.38 MB / 0.7459 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008744/1.161, allocations: 477.8 kB / 0.7463 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003454/1.164, allocations: 489 kB / 0.7468 GB, free: 170.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (981): * Single equations (assignments): 974 * Array equations: 5 * 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): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01116/1.175, allocations: 2.884 MB / 0.7496 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001877/1.177, allocations: 0.5251 MB / 0.7501 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/1.189, allocations: 6.989 MB / 0.757 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.517e-05/1.19, allocations: 27.69 kB / 0.757 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.682e-05/1.19, allocations: 7.875 kB / 0.757 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-05/1.19, allocations: 15.05 kB / 0.757 GB, free: 166.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02475/1.214, allocations: 14.42 MB / 0.7711 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.551e-05/1.214, allocations: 4 kB / 0.7711 GB, free: 154.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/1.217, allocations: 451.1 kB / 0.7715 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004673/1.221, allocations: 2.039 MB / 0.7735 GB, free: 152.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005234/1.222, allocations: 51.98 kB / 0.7736 GB, free: 152.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/1.237, allocations: 13.7 MB / 0.7869 GB, free: 138.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.237, allocations: 8 kB / 0.7869 GB, free: 138.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/1.252, allocations: 11.04 MB / 0.7977 GB, free: 127.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/1.254, allocations: 0.6034 MB / 0.7983 GB, free: 126.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.256, allocations: 51.98 kB / 0.7984 GB, free: 126.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.258, allocations: 189.3 kB / 0.7985 GB, free: 126.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005166/1.259, allocations: 161.7 kB / 0.7987 GB, free: 126.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/1.259, allocations: 75.98 kB / 0.7988 GB, free: 126.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.006137/1.265, allocations: 4.057 MB / 0.8027 GB, free: 122.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/1.265, allocations: 0 / 0.8027 GB, free: 122.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008063/1.273, allocations: 1.522 MB / 0.8042 GB, free: 120.6 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (211): * Single equations (assignments): 206 * Array equations: 3 * 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): 2 systems {(5,17,72.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006489/1.274, allocations: 192.2 kB / 0.8044 GB, free: 120.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01095/1.285, allocations: 8.379 MB / 0.8126 GB, free: 112.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.285, allocations: 4.25 kB / 0.8126 GB, free: 112.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005107/1.29, allocations: 3.48 MB / 0.816 GB, free: 108.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/1.294, allocations: 0.7287 MB / 0.8167 GB, free: 107.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02514/1.32, allocations: 14.26 MB / 0.8306 GB, free: 93.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005742/1.325, allocations: 4.427 MB / 0.8349 GB, free: 89.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005987/1.331, allocations: 2.604 MB / 0.8375 GB, free: 86.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.333, allocations: 370.5 kB / 0.8378 GB, free: 86.14 MB / 0.545 GB Notification: Performance of SimCode: time 2.124e-06/1.333, allocations: 3.938 kB / 0.8378 GB, free: 86.14 MB / 0.545 GB Notification: Performance of Templates: time 0.09245/1.425, allocations: 57.59 MB / 0.8941 GB, free: 28.93 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches