Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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: translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001274/0.001275, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.263/1.263, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.183/0.183, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3076, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004112/0.3117, allocations: 4.377 MB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.314, allocations: 1.549 MB / 0.5247 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.3143, allocations: 34.22 kB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.3147, allocations: 164.5 kB / 0.5249 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.3151, allocations: 164.4 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3161, allocations: 0.5847 MB / 0.5256 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009157/0.317, allocations: 1.031 MB / 0.5266 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.3176, allocations: 437.9 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.3179, allocations: 362.6 kB / 0.5274 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.3183, allocations: 390.5 kB / 0.5277 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3184, allocations: 90.09 kB / 0.5278 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.3185, allocations: 86.47 kB / 0.5279 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.3187, allocations: 200.7 kB / 0.5281 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002984/0.319, allocations: 442.2 kB / 0.5285 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.3198, allocations: 1.025 MB / 0.5295 GB, free: 12.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3198, allocations: 1.312 kB / 0.5295 GB, free: 12.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3198, allocations: 4 kB / 0.5295 GB, free: 12.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3198, allocations: 0 / 0.5295 GB, free: 12.16 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001692/0.3215, allocations: 1.288 MB / 0.5308 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.3216, allocations: 13.94 kB / 0.5308 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.3217, allocations: 111.2 kB / 0.5309 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008126/0.3225, allocations: 0.657 MB / 0.5315 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.3226, allocations: 48.16 kB / 0.5316 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.3227, allocations: 67.09 kB / 0.5317 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3238, allocations: 0.7365 MB / 0.5324 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3238, allocations: 1.094 kB / 0.5324 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.377e-05/0.3239, allocations: 30.69 kB / 0.5324 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.3239, allocations: 15.94 kB / 0.5324 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.3249, allocations: 0.5463 MB / 0.533 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.3279, allocations: 2.694 MB / 0.5356 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.3291, allocations: 0.673 MB / 0.5362 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004828/0.3296, allocations: 284.3 kB / 0.5365 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.3297, allocations: 5.875 kB / 0.5365 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.3297, allocations: 46.06 kB / 0.5366 GB, free: 6.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=52): time 2.023e-06/0.3297, allocations: 1.094 kB / 0.5366 GB, free: 6.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.001618/0.3313, allocations: 0.7946 MB / 0.5373 GB, free: 6.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.3315, allocations: 246 kB / 0.5376 GB, free: 6.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007539/0.3322, allocations: 0.7041 MB / 0.5383 GB, free: 5.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.3323, allocations: 37.2 kB / 0.5383 GB, free: 5.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.3326, allocations: 435.7 kB / 0.5387 GB, free: 5.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.3328, allocations: 182.1 kB / 0.5389 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.333, allocations: 113 kB / 0.539 GB, free: 5.109 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3331, allocations: 326 kB / 0.5393 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005202/0.3336, allocations: 232.1 kB / 0.5395 GB, free: 4.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.3342, allocations: 360.6 kB / 0.5399 GB, free: 4.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.3352, allocations: 0.5551 MB / 0.5404 GB, free: 4.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3352, allocations: 1.406 kB / 0.5404 GB, free: 4.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002453/0.3377, allocations: 1.04 MB / 0.5414 GB, free: 3.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3377, allocations: 6.156 kB / 0.5414 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3377, allocations: 2.5 kB / 0.5414 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.3389, allocations: 320.3 kB / 0.5417 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.3395, allocations: 127.7 kB / 0.5419 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008264/0.3478, allocations: 7.263 MB / 0.549 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.3484, allocations: 83.41 kB / 0.549 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.3484, allocations: 20 kB / 0.5491 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005649/0.349, allocations: 345.2 kB / 0.5494 GB, free: 11.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004099/0.3494, allocations: 324.1 kB / 0.5497 GB, free: 11.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007205/0.3501, allocations: 0.5043 MB / 0.5502 GB, free: 10.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.3501, allocations: 0 / 0.5502 GB, free: 10.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00136/0.3515, allocations: 0.7418 MB / 0.5509 GB, free: 10.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3515, allocations: 11.41 kB / 0.5509 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3516, allocations: 4 kB / 0.5509 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/0.352, allocations: 145.7 kB / 0.5511 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.3527, allocations: 171.8 kB / 0.5512 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.3558, allocations: 3.43 MB / 0.5546 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.3562, allocations: 59.56 kB / 0.5546 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.3563, allocations: 24.06 kB / 0.5547 GB, free: 5.957 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.3564, allocations: 212.1 kB / 0.5549 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.3566, allocations: 90.88 kB / 0.5549 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.3568, allocations: 99.16 kB / 0.555 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.3568, allocations: 11.98 kB / 0.5551 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3568, allocations: 0 / 0.5551 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3568, allocations: 0 / 0.5551 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009517/0.3578, allocations: 0.7388 MB / 0.5558 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.3578, allocations: 4 kB / 0.5558 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/0.3583, allocations: 115.8 kB / 0.5559 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3583, allocations: 4 kB / 0.5559 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.3584, allocations: 15.94 kB / 0.5559 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3584, allocations: 0 / 0.5559 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3584, allocations: 4 kB / 0.5559 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.36, allocations: 1.213 MB / 0.5571 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.3602, allocations: 211.8 kB / 0.5573 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.3603, allocations: 12 kB / 0.5573 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.3608, allocations: 39.95 kB / 0.5573 GB, free: 3.109 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.3609, allocations: 39.95 kB / 0.5574 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.3609, allocations: 23.98 kB / 0.5574 GB, free: 3.047 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005018/0.3614, allocations: 487 kB / 0.5579 GB, free: 2.578 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3614, allocations: 3.938 kB / 0.5579 GB, free: 2.574 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008847/0.3623, allocations: 275.1 kB / 0.5581 GB, free: 2.305 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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.0001224/0.3624, allocations: 107.2 kB / 0.5582 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.3659, allocations: 1.881 MB / 0.5601 GB, free: 240 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3659, allocations: 0 / 0.5601 GB, free: 240 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005234/0.3664, allocations: 279.7 kB / 0.5603 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.3676, allocations: 247.1 kB / 0.5606 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.3697, allocations: 1.474 MB / 0.562 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.3702, allocations: 0.9848 MB / 0.563 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002693/0.3705, allocations: 89.19 kB / 0.5631 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.3706, allocations: 47.44 kB / 0.5631 GB, free: 13.07 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3706, allocations: 0 / 0.5631 GB, free: 13.07 MB / 430.1 MB Notification: Performance of Templates: time 0.01811/0.3887, allocations: 12.67 MB / 0.5755 GB, free: 488 kB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches