Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",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.001199/0.001199, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.001152/0.001152, allocations: 180.9 kB / 18.71 MB, free: 4.359 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.406/1.406, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2085/0.2085, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.83 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3469, allocations: 60.82 MB / 0.5184 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.0158/0.3627, allocations: 14.1 MB / 0.5322 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01057/0.3733, allocations: 4.43 MB / 0.5365 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.3763, allocations: 76.38 kB / 0.5366 GB, free: 5.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004691/0.381, allocations: 2.369 MB / 0.5389 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005165/0.3863, allocations: 1.997 MB / 0.5409 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.3879, allocations: 0.5857 MB / 0.5414 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005612/0.3935, allocations: 4.176 MB / 0.5455 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005077/0.3986, allocations: 3.609 MB / 0.549 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.4017, allocations: 1.608 MB / 0.5506 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003344/0.4051, allocations: 2.176 MB / 0.5527 GB, free: 8.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.4062, allocations: 352 kB / 0.5531 GB, free: 8.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/0.4091, allocations: 1.217 MB / 0.5543 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002249/0.4114, allocations: 2.045 MB / 0.5563 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.414, allocations: 2.442 MB / 0.5586 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008325/0.4223, allocations: 8.027 MB / 0.5665 GB, free: 10.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4224, allocations: 0 / 0.5665 GB, free: 10.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4224, allocations: 0 / 0.5665 GB, free: 10.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001736/0.4226, allocations: 4 kB / 0.5665 GB, free: 10.72 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1840 * Number of variables: 1840 Notification: Performance of Generate backend data structure: time 0.009763/0.4323, allocations: 5.48 MB / 0.5718 GB, free: 5.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4324, allocations: 12.03 kB / 0.5719 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009859/0.4334, allocations: 0.8607 MB / 0.5727 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.4439, allocations: 3.226 MB / 0.5758 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006068/0.45, allocations: 2.622 MB / 0.5784 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.4503, allocations: 266.8 kB / 0.5787 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009268/0.4512, allocations: 347.8 kB / 0.579 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0188/0.47, allocations: 12.34 MB / 0.591 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.4702, allocations: 35.7 kB / 0.5911 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004674/0.4706, allocations: 159.8 kB / 0.5912 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003898/0.4745, allocations: 2.692 MB / 0.5939 GB, free: 14.06 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.4972, allocations: 11.3 MB / 0.6049 GB, free: 2.746 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06273/0.56, allocations: 39.39 MB / 0.6434 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.5704, allocations: 4.963 MB / 0.6482 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003342/0.5737, allocations: 2.366 MB / 0.6505 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.5856, allocations: 6.738 MB / 0.6571 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.5857, allocations: 52.56 kB / 0.6571 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=226): time 4.538e-06/0.5857, allocations: 0 / 0.6571 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=235): time 0.03877/0.6245, allocations: 16.25 MB / 0.673 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.6246, allocations: 73.41 kB / 0.6731 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00548/0.6301, allocations: 3.146 MB / 0.6762 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004347/0.6306, allocations: 53.7 kB / 0.6762 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.633, allocations: 3.371 MB / 0.6795 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/0.6342, allocations: 0.9185 MB / 0.6804 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002655/0.6369, allocations: 1.207 MB / 0.6816 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.637, allocations: 301.1 kB / 0.6819 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/0.6408, allocations: 2.374 MB / 0.6842 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006651/0.6474, allocations: 5.677 MB / 0.6897 GB, free: 8.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.6588, allocations: 8.752 MB / 0.6983 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001472/0.6589, allocations: 36 kB / 0.6983 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.0175/0.6765, allocations: 8.824 MB / 0.7069 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.6766, allocations: 64.05 kB / 0.707 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/0.6768, allocations: 116 kB / 0.7071 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003452/0.6803, allocations: 1.125 MB / 0.7082 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004737/0.685, allocations: 1.341 MB / 0.7095 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006144/0.6912, allocations: 4.792 MB / 0.7142 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.6953, allocations: 327.7 kB / 0.7145 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/0.6964, allocations: 348 kB / 0.7148 GB, free: 12.95 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 527 * Number of states: 0 () * Number of discrete variables: 32 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (730): * Single equations (assignments): 722 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,5)} Notification: Performance of prepare postOptimizeDAE: time 0.004647/0.701, allocations: 2.369 MB / 0.7171 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007699/0.7018, allocations: 314.1 kB / 0.7174 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007885/0.7097, allocations: 4.382 MB / 0.7217 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-05/0.7098, allocations: 47.92 kB / 0.7218 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.7098, allocations: 7.938 kB / 0.7218 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.7098, allocations: 11.97 kB / 0.7218 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2738/0.9836, allocations: 10.36 MB / 0.7319 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/0.9837, allocations: 6.031 kB / 0.7319 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.9855, allocations: 377.7 kB / 0.7323 GB, free: 180.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/0.9877, allocations: 0.6766 MB / 0.7329 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002875/0.988, allocations: 45.47 kB / 0.733 GB, free: 180.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002708/0.9907, allocations: 2.571 MB / 0.7355 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.9907, allocations: 6.594 kB / 0.7355 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009404/1, allocations: 6.743 MB / 0.7421 GB, free: 176 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000878/1.001, allocations: 352.1 kB / 0.7424 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/1.001, allocations: 39.78 kB / 0.7424 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/1.003, allocations: 135.7 kB / 0.7426 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/1.003, allocations: 135 kB / 0.7427 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.003, allocations: 69.02 kB / 0.7428 GB, free: 175.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002596/1.006, allocations: 1.912 MB / 0.7446 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.006, allocations: 0 / 0.7446 GB, free: 175.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00421/1.01, allocations: 1.05 MB / 0.7457 GB, free: 175.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (187): * Single equations (assignments): 178 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008062/1.018, allocations: 7.399 MB / 0.7529 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007598/1.026, allocations: 5.794 MB / 0.7586 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.026, allocations: 7.562 kB / 0.7586 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003337/1.029, allocations: 2.388 MB / 0.7609 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/1.032, allocations: 0.4916 MB / 0.7614 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05394/1.086, allocations: 45.3 MB / 0.8056 GB, free: 118.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00376/1.09, allocations: 3.678 MB / 0.8092 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003667/1.093, allocations: 2.016 MB / 0.8112 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/1.095, allocations: 2.085 MB / 0.8132 GB, free: 110.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.512e-06/1.095, allocations: 0 / 0.8132 GB, free: 110.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09343/1.189, allocations: 64.1 MB / 0.8758 GB, free: 46.58 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.57/19.76, allocations: 12 kB / 0.8758 GB, free: 46.57 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotionScalarInit3/FreeMotionScalarInit3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches