Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_WiredX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 114.1 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009932/0.0009933, allocations: 191 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 47.91 kB / 350.8 MB, free: 3.793 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2887, allocations: 49.44 MB / 400.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003697/0.2925, allocations: 1.801 MB / 402 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.2952, allocations: 0.942 MB / 403 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.2954, allocations: 3.938 kB / 403 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.2957, allocations: 27.72 kB / 403 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.2959, allocations: 47.66 kB / 403.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.2964, allocations: 91.81 kB / 403.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.2969, allocations: 323.4 kB / 403.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.297, allocations: 61.55 kB / 403.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008088/0.2979, allocations: 0.7369 MB / 404.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.2981, allocations: 147.4 kB / 404.4 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.05e-05/0.2982, allocations: 20 kB / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/0.2983, allocations: 28 kB / 404.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.2985, allocations: 135.4 kB / 404.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003067/0.2988, allocations: 234.3 kB / 404.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009526/0.2997, allocations: 0.7575 MB / 405.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2997, allocations: 0 / 405.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2998, allocations: 0 / 405.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.2998, allocations: 0 / 405.6 MB, free: 3.512 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.002324/0.3021, allocations: 1.192 MB / 406.8 MB, free: 2.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3022, allocations: 8.031 kB / 406.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.3023, allocations: 58.73 kB / 406.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.3026, allocations: 80.41 kB / 406.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007195/0.3033, allocations: 404.9 kB / 407.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.276e-05/0.3034, allocations: 16.56 kB / 407.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.541e-05/0.3035, allocations: 24.12 kB / 407.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008537/0.3043, allocations: 251.6 kB / 407.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3044, allocations: 0 / 407.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.3044, allocations: 4 kB / 407.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3045, allocations: 4 kB / 407.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.305, allocations: 136.2 kB / 407.7 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3069, allocations: 0.7349 MB / 408.5 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.3074, allocations: 202.4 kB / 408.7 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.3079, allocations: 176.8 kB / 408.8 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.3079, allocations: 4 kB / 408.8 MB, free: 24 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009954/0.3089, allocations: 393.8 kB / 409.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 3.096e-06/0.309, allocations: 0 / 409.2 MB, free: 15.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.002469/0.3114, allocations: 0.9205 MB / 410.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002724/0.3117, allocations: 289 kB / 410.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.3141, allocations: 0.9491 MB / 411.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/0.3142, allocations: 37.7 kB / 411.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.3144, allocations: 130 kB / 411.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.3145, allocations: 67.58 kB / 411.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.3149, allocations: 169.3 kB / 411.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.3151, allocations: 326.8 kB / 412.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.3156, allocations: 128.2 kB / 412.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.3162, allocations: 168.6 kB / 412.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.3174, allocations: 0.7068 MB / 413.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3175, allocations: 0 / 413.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001913/0.3194, allocations: 0.7526 MB / 413.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.3196, allocations: 253.5 kB / 414.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.3197, allocations: 4 kB / 414.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3197, allocations: 0 / 414.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.897e-05/0.3198, allocations: 4 kB / 414.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.3198, allocations: 7.984 kB / 414.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.3203, allocations: 32.02 kB / 414.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.3205, allocations: 104.2 kB / 414.2 MB, free: 10.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001037/0.3215, allocations: 0.6162 MB / 414.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.3217, allocations: 83.52 kB / 414.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.3221, allocations: 118.9 kB / 415 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.3221, allocations: 4 kB / 415 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.3221, allocations: 4 kB / 415.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3222, allocations: 0 / 415.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.3254, allocations: 1.437 MB / 416.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3254, allocations: 0 / 416.5 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.3254, allocations: 4 kB / 416.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3254, allocations: 0 / 416.5 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/0.3255, allocations: 27.98 kB / 416.5 MB, free: 7.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.3255, allocations: 7.984 kB / 416.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3256, allocations: 0 / 416.5 MB, free: 7.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.3277, allocations: 0.973 MB / 417.5 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/0.3287, allocations: 420.1 kB / 417.9 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.3289, allocations: 23.98 kB / 417.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.3293, allocations: 23.98 kB / 418 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/0.3296, allocations: 51.94 kB / 418 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/0.3298, allocations: 111.9 kB / 418.1 MB, free: 6.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001622/0.3314, allocations: 0.6976 MB / 418.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3314, allocations: 0 / 418.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006935/0.3321, allocations: 91.95 kB / 418.9 MB, free: 5.277 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002648/0.3348, allocations: 1.553 MB / 420.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.3363, allocations: 0.8882 MB / 421.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3363, allocations: 0 / 421.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3374, allocations: 0.7532 MB / 422.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.339, allocations: 273.1 kB / 422.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009955/0.349, allocations: 4.632 MB / 427 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.3501, allocations: 0.9403 MB / 427.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004118/0.3505, allocations: 97.27 kB / 428 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.3508, allocations: 91.34 kB / 428.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 1.283e-06/0.3508, allocations: 0 / 428.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/0.3982, allocations: 11.72 MB / 439.8 MB, free: 40 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.337, allocations: 14.56 kB / 439.9 MB, free: 28 kB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_WiredX.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches