Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 77.47 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.115, allocations: 62.45 MB / 479.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2): time 0.2824/0.3974, allocations: 77.12 MB / 0.5434 GB, free: 180 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04175/0.4392, allocations: 34.77 MB / 0.5773 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.4421, allocations: 63.5 kB / 0.5774 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.4452, allocations: 0.9288 MB / 0.5783 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01781/0.463, allocations: 4.314 MB / 0.5825 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02114/0.4842, allocations: 5.604 MB / 0.588 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01082/0.495, allocations: 7.272 MB / 0.5951 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.497, allocations: 1.166 MB / 0.5962 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/0.5082, allocations: 5.032 MB / 0.6011 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.5112, allocations: 1.643 MB / 0.6027 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004767/0.5117, allocations: 111.9 kB / 0.6028 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/0.526, allocations: 7.091 MB / 0.6098 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008889/0.527, allocations: 0.6427 MB / 0.6104 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.5285, allocations: 1.023 MB / 0.6114 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.5426, allocations: 6.594 MB / 0.6178 GB, free: 10.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5427, allocations: 0 / 0.6178 GB, free: 10.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5427, allocations: 0 / 0.6178 GB, free: 10.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.284e-05/0.5427, allocations: 0 / 0.6178 GB, free: 10.54 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.006505/0.5492, allocations: 2.818 MB / 0.6206 GB, free: 7.664 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.5493, allocations: 9.469 kB / 0.6206 GB, free: 7.656 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006483/0.5558, allocations: 0.8105 MB / 0.6214 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.5576, allocations: 1.061 MB / 0.6224 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/0.558, allocations: 460.9 kB / 0.6229 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.5583, allocations: 164.4 kB / 0.623 GB, free: 5.066 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00699/0.5653, allocations: 3.15 MB / 0.6261 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/0.5654, allocations: 11.88 kB / 0.6261 GB, free: 1.648 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/0.5656, allocations: 80 kB / 0.6262 GB, free: 1.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.552e-05/0.5657, allocations: 86.72 kB / 0.6263 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006894/0.5726, allocations: 2.695 MB / 0.6289 GB, free: 14.78 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01744/0.5901, allocations: 15.72 MB / 0.6443 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00457/0.5947, allocations: 1.387 MB / 0.6456 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.596, allocations: 0.5423 MB / 0.6461 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.5972, allocations: 0.6947 MB / 0.6468 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.5973, allocations: 47.56 kB / 0.6469 GB, free: 11.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=101): time 2.896e-06/0.5973, allocations: 0 / 0.6469 GB, free: 11.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=117): time 0.0178/0.6151, allocations: 5.222 MB / 0.652 GB, free: 5.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.224e-05/0.6152, allocations: 167.2 kB / 0.6521 GB, free: 5.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.6173, allocations: 1.465 MB / 0.6536 GB, free: 4.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.6175, allocations: 45.7 kB / 0.6536 GB, free: 4.133 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007009/0.6182, allocations: 0.936 MB / 0.6545 GB, free: 3.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.6186, allocations: 422.3 kB / 0.6549 GB, free: 2.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006362/0.6192, allocations: 451.9 kB / 0.6553 GB, free: 2.316 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6194, allocations: 309.1 kB / 0.6556 GB, free: 2.012 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.621, allocations: 0.6837 MB / 0.6563 GB, free: 1.324 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/0.6237, allocations: 1.923 MB / 0.6582 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004476/0.6282, allocations: 2.782 MB / 0.6609 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.374e-05/0.6282, allocations: 12 kB / 0.6609 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006138/0.6344, allocations: 2.811 MB / 0.6637 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.6344, allocations: 20.97 kB / 0.6637 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.385e-05/0.6345, allocations: 47.94 kB / 0.6637 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.6359, allocations: 443 kB / 0.6641 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.6376, allocations: 0.5186 MB / 0.6647 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.6398, allocations: 2.741 MB / 0.6673 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.6418, allocations: 211.6 kB / 0.6675 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.642, allocations: 140 kB / 0.6677 GB, free: 4.344 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume2_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume1_1.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * 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,7), (1,7), (1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009155/0.6429, allocations: 0.5434 MB / 0.6682 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/0.6433, allocations: 177.9 kB / 0.6684 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006971/0.6503, allocations: 4.961 MB / 0.6732 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.633e-05/0.6504, allocations: 51.92 kB / 0.6733 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6504, allocations: 0 / 0.6733 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.6504, allocations: 7.984 kB / 0.6733 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009954/0.6604, allocations: 7.123 MB / 0.6802 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.6604, allocations: 4 kB / 0.6802 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6615, allocations: 259.9 kB / 0.6805 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.6629, allocations: 431.1 kB / 0.6809 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.145e-05/0.663, allocations: 35.98 kB / 0.6809 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/0.6652, allocations: 2.783 MB / 0.6836 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.6652, allocations: 11.97 kB / 0.6836 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006625/0.6719, allocations: 4.08 MB / 0.6876 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000912/0.6728, allocations: 417.8 kB / 0.688 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003946/0.6732, allocations: 75.28 kB / 0.6881 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.6744, allocations: 115.7 kB / 0.6882 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.6747, allocations: 108.8 kB / 0.6883 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6748, allocations: 51.97 kB / 0.6884 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001884/0.6767, allocations: 1.232 MB / 0.6896 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6767, allocations: 0 / 0.6896 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005031/0.6817, allocations: 1.41 MB / 0.6909 GB, free: 12.01 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {(2,5), (2,5), (2,5), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005643/0.6874, allocations: 1.376 MB / 0.6923 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005333/0.6927, allocations: 2.234 MB / 0.6945 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.178e-06/0.6928, allocations: 448 / 0.6945 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.6954, allocations: 1.355 MB / 0.6958 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004966/0.7003, allocations: 0.8956 MB / 0.6967 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007902/0.7083, allocations: 5.603 MB / 0.7021 GB, free: 496 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.172/0.8803, allocations: 1.65 MB / 0.7038 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002393/0.8828, allocations: 0.9537 MB / 0.7047 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.8831, allocations: 139.1 kB / 0.7048 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.022e-06/0.8831, allocations: 1.625 kB / 0.7048 GB, free: 184.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.07696/0.96, allocations: 66.1 MB / 0.7694 GB, free: 139.1 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature2/TestTemperature2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches