Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1.T|Tmix2.T|Tdiff|volume1.medium.h|volume2.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009766/0.0009767, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008219/0.0008219, allocations: 95.73 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1766/0.1766, allocations: 45.16 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.414e-05/1.418e-05, allocations: 0 / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 63.24 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.955/7.064, allocations: 2.776 GB / 3.28 GB, free: 71 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/7.064, allocations: 84.56 kB / 3.28 GB, free: 70.95 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.67/9.734, allocations: 0.742 GB / 4.022 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.323e-06/9.734, allocations: 1.969 kB / 4.022 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001223/9.734, allocations: 31.12 kB / 4.022 GB, free: 52.53 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.01066/9.745, allocations: 2.673 MB / 4.025 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/9.745, allocations: 10.47 kB / 4.025 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005703/9.751, allocations: 0.7478 MB / 4.025 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/9.753, allocations: 0.9558 MB / 4.026 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/9.753, allocations: 185.2 kB / 4.027 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/9.753, allocations: 72.22 kB / 4.027 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001985/9.755, allocations: 1.319 MB / 4.028 GB, free: 50.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/9.757, allocations: 1.645 MB / 4.03 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/9.757, allocations: 8.156 kB / 4.03 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/9.757, allocations: 7.094 kB / 4.03 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/9.757, allocations: 53.72 kB / 4.03 GB, free: 50.4 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.127/9.884, allocations: 82.63 MB / 4.11 GB, free: 27.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009616/9.885, allocations: 0.6607 MB / 4.111 GB, free: 27.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/9.886, allocations: 346.8 kB / 4.111 GB, free: 27.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009163/9.887, allocations: 0.6835 MB / 4.112 GB, free: 26.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/9.887, allocations: 46.69 kB / 4.112 GB, free: 26.54 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006321/9.887, allocations: 92.38 kB / 4.112 GB, free: 26.49 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=78): time 2.975e-06/9.887, allocations: 0 / 4.112 GB, free: 26.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=86): time 0.01015/9.898, allocations: 3.276 MB / 4.115 GB, free: 25.94 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/9.898, allocations: 172.8 kB / 4.115 GB, free: 25.75 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008366/9.898, allocations: 0.7134 MB / 4.116 GB, free: 25.58 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.594e-05/9.899, allocations: 25.7 kB / 4.116 GB, free: 25.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/9.899, allocations: 0.7047 MB / 4.117 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/9.899, allocations: 297.3 kB / 4.117 GB, free: 24.96 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/9.899, allocations: 0 / 4.117 GB, free: 24.96 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001789/9.899, allocations: 417.7 kB / 4.118 GB, free: 24.65 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/9.9, allocations: 372.1 kB / 4.118 GB, free: 24.64 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/9.901, allocations: 0.9964 MB / 4.119 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/9.903, allocations: 0.7808 MB / 4.12 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/9.903, allocations: 3.25 kB / 4.12 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003675/9.907, allocations: 1.653 MB / 4.121 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.003611/9.91, allocations: 8.099 MB / 4.129 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/9.91, allocations: 23.19 kB / 4.129 GB, free: 31.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/9.911, allocations: 119.5 kB / 4.129 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/9.912, allocations: 408.8 kB / 4.13 GB, free: 31.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000873/9.913, allocations: 1.222 MB / 4.131 GB, free: 30.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/9.914, allocations: 182.1 kB / 4.131 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/9.914, allocations: 86.84 kB / 4.131 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/9.914, allocations: 5.562 kB / 4.131 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002645/9.917, allocations: 1.369 MB / 4.132 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/9.917, allocations: 25.75 kB / 4.132 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/9.917, allocations: 116.5 kB / 4.133 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/9.919, allocations: 404.7 kB / 4.133 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007893/9.919, allocations: 1.222 MB / 4.134 GB, free: 28.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/9.921, allocations: 156.8 kB / 4.134 GB, free: 28.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/9.921, allocations: 82.64 kB / 4.134 GB, free: 28.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 18 (volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase,volume2.inFlow[2],volume2.inFlow[1],sink1.medium.phase,volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003327/9.921, allocations: 181.4 kB / 4.135 GB, free: 28.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/9.921, allocations: 111.3 kB / 4.135 GB, free: 28.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/9.926, allocations: 4.156 MB / 4.139 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/9.926, allocations: 61.22 kB / 4.139 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/9.926, allocations: 0 / 4.139 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/9.926, allocations: 6.891 kB / 4.139 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006341/9.932, allocations: 5.857 MB / 4.145 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/9.932, allocations: 4.938 kB / 4.145 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007893/9.933, allocations: 231.4 kB / 4.145 GB, free: 27.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000408/9.934, allocations: 156.4 kB / 4.145 GB, free: 27.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/9.934, allocations: 18.5 kB / 4.145 GB, free: 27.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008021/9.934, allocations: 1.282 MB / 4.146 GB, free: 26.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/9.934, allocations: 2.719 kB / 4.146 GB, free: 26.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/9.938, allocations: 3.651 MB / 4.15 GB, free: 26.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000563/9.939, allocations: 375.6 kB / 4.15 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/9.939, allocations: 7.391 kB / 4.15 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008958/9.94, allocations: 99.72 kB / 4.15 GB, free: 25.85 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/9.94, allocations: 86.3 kB / 4.15 GB, free: 25.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.535e-05/9.94, allocations: 38.94 kB / 4.15 GB, free: 25.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005909/9.941, allocations: 0.4989 MB / 4.151 GB, free: 25.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/9.941, allocations: 4 kB / 4.151 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.006024/9.947, allocations: 1.513 MB / 4.152 GB, free: 25.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007957/9.955, allocations: 2.142 MB / 4.154 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004052/9.959, allocations: 2.286 MB / 4.157 GB, free: 25.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/9.959, allocations: 5.047 kB / 4.157 GB, free: 25.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/9.96, allocations: 1.142 MB / 4.158 GB, free: 25.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/9.963, allocations: 462.3 kB / 4.158 GB, free: 24.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/9.967, allocations: 3.047 MB / 4.161 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/9.968, allocations: 1.483 MB / 4.163 GB, free: 23.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002826/9.971, allocations: 1.816 MB / 4.164 GB, free: 23.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/9.971, allocations: 104.2 kB / 4.164 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/9.971, allocations: 0 / 4.164 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.06431/10.04, allocations: 46.21 MB / 4.21 GB, free: 8.512 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestTemperature1/TestTemperature1.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches