Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001776/0.001776, 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.002071/0.002071, 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.421/1.421, allocations: 230.4 MB / 251.1 MB, free: 8.457 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.001948/0.001948, allocations: 71.84 kB / 369 MB, free: 6.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2438, allocations: 53.32 MB / 422.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006368/0.2502, allocations: 4.613 MB / 426.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.2528, allocations: 1.312 MB / 428.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002899/0.2531, allocations: 23.88 kB / 428.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003794/0.2535, allocations: 170.6 kB / 428.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009014/0.2544, allocations: 366 kB / 428.8 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.2548, allocations: 219.6 kB / 429 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.2565, allocations: 1.623 MB / 430.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.2576, allocations: 0.8017 MB / 431.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008525/0.2584, allocations: 0.693 MB / 432.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.2596, allocations: 0.8756 MB / 433 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.2598, allocations: 176 kB / 433.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.2602, allocations: 184 kB / 433.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004517/0.2606, allocations: 478.6 kB / 433.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008922/0.2615, allocations: 0.801 MB / 434.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002385/0.2639, allocations: 2.284 MB / 436.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2639, allocations: 0 / 436.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2639, allocations: 0 / 436.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.2639, allocations: 0 / 436.9 MB, free: 9.172 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003395/0.2673, allocations: 1.832 MB / 438.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2673, allocations: 12.02 kB / 438.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007548/0.2681, allocations: 215.9 kB / 438.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.2697, allocations: 1.04 MB / 440 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.063e-05/0.2698, allocations: 82.42 kB / 440 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.27, allocations: 112.1 kB / 440.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.2727, allocations: 1.561 MB / 441.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.2728, allocations: 0 / 441.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.2729, allocations: 40 kB / 441.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.838e-05/0.273, allocations: 46.03 kB / 441.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.2755, allocations: 1.437 MB / 443.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007644/0.2832, allocations: 4.895 MB / 448.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.285, allocations: 1.388 MB / 449.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.2864, allocations: 0.6843 MB / 450.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.654e-05/0.2864, allocations: 8.562 kB / 450.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.2875, allocations: 0.6122 MB / 450.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.274e-06/0.2875, allocations: 8 kB / 450.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.005976/0.2935, allocations: 2.427 MB / 453.3 MB, free: 8.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.2935, allocations: 85.77 kB / 453.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.295, allocations: 0.9659 MB / 454.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.295, allocations: 45.64 kB / 454.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.2956, allocations: 0.5475 MB / 454.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.2958, allocations: 242 kB / 455.1 MB, free: 6.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.2961, allocations: 134.6 kB / 455.3 MB, free: 6.215 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.2962, allocations: 334 kB / 455.6 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007353/0.297, allocations: 413.7 kB / 456 MB, free: 5.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008661/0.2978, allocations: 0.5563 MB / 456.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.2994, allocations: 0.9426 MB / 457.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.2994, allocations: 3.938 kB / 457.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00241/0.3018, allocations: 1.285 MB / 458.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3018, allocations: 8 kB / 458.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3018, allocations: 4.047 kB / 458.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.3029, allocations: 411.1 kB / 459.2 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.3035, allocations: 111.8 kB / 459.3 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/0.3096, allocations: 4.496 MB / 463.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/0.3103, allocations: 87.64 kB / 463.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.3103, allocations: 23.98 kB / 463.9 MB, free: 13.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0007753/0.3111, allocations: 0.4913 MB / 464.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.3113, allocations: 103.3 kB / 464.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.3115, allocations: 124.8 kB / 464.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3115, allocations: 12 kB / 464.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3115, allocations: 0 / 464.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.3115, allocations: 3.984 kB / 464.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.3157, allocations: 2.587 MB / 467.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3157, allocations: 0 / 467.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.3161, allocations: 79.88 kB / 467.3 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008769/0.317, allocations: 388.7 kB / 467.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.3171, allocations: 23.92 kB / 467.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005819/0.3229, allocations: 4.479 MB / 472.2 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3229, allocations: 0 / 472.2 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00337/0.3262, allocations: 1.952 MB / 474.1 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/0.3268, allocations: 292.3 kB / 474.4 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.3269, allocations: 19.94 kB / 474.5 MB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.3274, allocations: 39.95 kB / 474.5 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/0.3276, allocations: 80.53 kB / 474.6 MB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/0.3276, allocations: 20 kB / 474.6 MB, free: 2.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001012/0.3287, allocations: 0.6941 MB / 475.3 MB, free: 1.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3287, allocations: 0 / 475.3 MB, free: 1.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001036/0.3297, allocations: 351.2 kB / 475.6 MB, free: 1.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002197/0.3299, allocations: 139.1 kB / 475.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002375/0.3323, allocations: 1.244 MB / 477 MB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3323, allocations: 0 / 477 MB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.3336, allocations: 0.7874 MB / 477.8 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3347, allocations: 247.2 kB / 478 MB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.3399, allocations: 2.69 MB / 480.7 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.341, allocations: 1.392 MB / 482.1 MB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005228/0.3416, allocations: 171.4 kB / 482.3 MB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.3417, allocations: 63.42 kB / 482.3 MB, free: 10.5 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3417, allocations: 4 kB / 482.3 MB, free: 10.5 MB / 398.1 MB Notification: Performance of Templates: time 0.03585/0.3776, allocations: 18.88 MB / 0.4895 GB, free: 7.859 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches