Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,variableFilter="time|dcpm.ia|dcpm.tauElectrical|dcee.ia|dcee.tauElectrical|dcse.ia|dcse.tauElectrical|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w|loadInertia3.phi|loadInertia3.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001044, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 229.5 MB / 247.7 MB, free: 6.309 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007652/0.0007651, allocations: 105.8 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002161/0.0002161, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2077, allocations: 51.42 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics): time 0.01197/0.2197, allocations: 16.79 MB / 428.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008299/0.2281, allocations: 5.848 MB / 434.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.2304, allocations: 67.81 kB / 434.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.2333, allocations: 1.15 MB / 435.9 MB, free: 1.891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.2365, allocations: 1.04 MB / 437 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.2377, allocations: 0.5893 MB / 437.5 MB, free: 260 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004157/0.2418, allocations: 3.72 MB / 441.3 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.2436, allocations: 1.338 MB / 442.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.2457, allocations: 1.209 MB / 443.8 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.2471, allocations: 1.356 MB / 445.2 MB, free: 8.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002593/0.2473, allocations: 176 kB / 445.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.2479, allocations: 212 kB / 445.5 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003912/0.2483, allocations: 0.5207 MB / 446.1 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.2498, allocations: 1.552 MB / 447.6 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003575/0.2534, allocations: 4.312 MB / 451.9 MB, free: 1.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2534, allocations: 0 / 451.9 MB, free: 1.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2534, allocations: 0 / 451.9 MB, free: 1.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.733e-05/0.2535, allocations: 0 / 451.9 MB, free: 1.75 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.004574/0.2581, allocations: 2.806 MB / 454.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2581, allocations: 8.031 kB / 454.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.2595, allocations: 491.7 kB / 455.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/0.262, allocations: 1.699 MB / 456.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.2622, allocations: 193.2 kB / 457.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.2625, allocations: 267.8 kB / 457.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.2665, allocations: 2.454 MB / 459.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.992e-05/0.2666, allocations: 11.91 kB / 459.8 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.2667, allocations: 108 kB / 459.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.781e-05/0.2668, allocations: 67.94 kB / 460 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.2698, allocations: 1.642 MB / 461.7 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/0.2821, allocations: 10.71 MB / 472.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.2834, allocations: 1.053 MB / 473.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005876/0.284, allocations: 367.4 kB / 473.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.284, allocations: 16.64 kB / 473.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2841, allocations: 39.22 kB / 473.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 5.34e-06/0.2841, allocations: 0 / 473.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=90): time 0.004771/0.2889, allocations: 2.964 MB / 476.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.2889, allocations: 171.2 kB / 477 MB, free: 7.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.2918, allocations: 2.182 MB / 479.1 MB, free: 5.395 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.2919, allocations: 41.7 kB / 479.2 MB, free: 5.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.293, allocations: 1.47 MB / 480.7 MB, free: 3.855 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.2932, allocations: 335.4 kB / 481 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.2933, allocations: 36 kB / 481 MB, free: 3.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.2934, allocations: 365.9 kB / 481.4 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006417/0.2941, allocations: 367.8 kB / 481.7 MB, free: 2.766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.2953, allocations: 1.239 MB / 483 MB, free: 1.105 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.2973, allocations: 1.73 MB / 484.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.2974, allocations: 8 kB / 484.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.00309/0.3005, allocations: 1.846 MB / 486.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005872/0.3011, allocations: 0.9656 MB / 487.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/0.3011, allocations: 32 kB / 487.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005446/0.3016, allocations: 159.3 kB / 487.7 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.3028, allocations: 411.3 kB / 488.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/0.3066, allocations: 5.359 MB / 493.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.3082, allocations: 99.78 kB / 493.6 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.3084, allocations: 88 kB / 493.7 MB, free: 5.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.3084, allocations: 9.344 kB / 493.7 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002406/0.3108, allocations: 1.582 MB / 495.2 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.3108, allocations: 32 kB / 495.3 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004082/0.3113, allocations: 143.4 kB / 495.4 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.3124, allocations: 419.4 kB / 495.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003748/0.3162, allocations: 5.336 MB / 0.4894 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.3178, allocations: 84.23 kB / 0.4895 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.318, allocations: 99.98 kB / 0.4896 GB, free: 12.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,5,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001107/0.3191, allocations: 0.5861 MB / 0.4902 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/0.3194, allocations: 241.1 kB / 0.4904 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.321, allocations: 0.9263 MB / 0.4913 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.321, allocations: 12 kB / 0.4913 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.321, allocations: 0 / 0.4913 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.3211, allocations: 7.922 kB / 0.4913 GB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/0.3256, allocations: 3.135 MB / 0.4944 GB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.3256, allocations: 8 kB / 0.4944 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.3262, allocations: 156.5 kB / 0.4945 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/0.3266, allocations: 127.3 kB / 0.4947 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.3267, allocations: 24 kB / 0.4947 GB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003553/0.3303, allocations: 5.321 MB / 0.4999 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.3303, allocations: 4 kB / 0.4999 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.177/0.5073, allocations: 1.509 MB / 0.5014 GB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009764/0.5083, allocations: 386 kB / 0.5017 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.5085, allocations: 24.67 kB / 0.5017 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009371/0.5095, allocations: 63.55 kB / 0.5018 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.5096, allocations: 78.92 kB / 0.5019 GB, free: 84.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.5097, allocations: 33.39 kB / 0.5019 GB, free: 84.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002236/0.5119, allocations: 1.438 MB / 0.5033 GB, free: 84.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.512, allocations: 0 / 0.5033 GB, free: 84.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002564/0.5145, allocations: 0.9362 MB / 0.5042 GB, free: 84.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (dcpm.inertiaRotor.w,loadInertia1.phi,dcee.inertiaRotor.w,loadInertia2.phi,dcse.inertiaRotor.w,loadInertia3.phi) * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.5147, allocations: 152.1 kB / 0.5044 GB, free: 84.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003419/0.5182, allocations: 2.703 MB / 0.507 GB, free: 83.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5182, allocations: 0 / 0.507 GB, free: 83.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008483/0.519, allocations: 0.8293 MB / 0.5078 GB, free: 82.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/0.5231, allocations: 0.5542 MB / 0.5084 GB, free: 82.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006046/0.5292, allocations: 5.412 MB / 0.5137 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.5303, allocations: 1.568 MB / 0.5152 GB, free: 78.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001401/0.5317, allocations: 320.1 kB / 0.5155 GB, free: 78.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.532, allocations: 141.8 kB / 0.5156 GB, free: 78.25 MB / 378.7 MB Notification: Performance of SimCode: time 8.41e-07/0.532, allocations: 0 / 0.5156 GB, free: 78.25 MB / 378.7 MB Notification: Performance of Templates: time 0.03892/0.5709, allocations: 26.7 MB / 0.5417 GB, free: 55.91 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DC_CompareCharacteristics/DC_CompareCharacteristics.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DC_CompareCharacteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches